Skip to content

Improve the test suite and rebuild the distributed PHAR - #58

Merged
joetannenbaum merged 6 commits into
2.xfrom
test/suite-improvements
Jul 22, 2026
Merged

joetannenbaum merged 6 commits into
2.xfrom
test/suite-improvements

Conversation

@WendellAdriel

Copy link
Copy Markdown
Member

Overview

Several tests duplicated their own fixture binaries and fake package runners per file, and Lock's mutual exclusion had no direct coverage. This PR cleans that up so the suite stays consistent as it grows.

Solution

Tests now reuse the shared fixture binaries and a recording package runner defined in Pest.php, Lock mutual exclusion is covered with a second flock handle, and the unused Mockery binding is dropped from the base TestCase. The final commit rebuilds builds/cpx with these and the recently merged changes.

Note: #57 must be merged first and the PHAR rebuild commit here redone on top of it, so the distributed PHAR ships with that fix included.

@WendellAdriel
WendellAdriel marked this pull request as ready for review July 22, 2026 10:32
@WendellAdriel
WendellAdriel force-pushed the test/suite-improvements branch from face887 to 118760f Compare July 22, 2026 14:27
@joetannenbaum
joetannenbaum merged commit 461d6e9 into 2.x Jul 22, 2026
7 checks passed
@WendellAdriel
WendellAdriel deleted the test/suite-improvements branch July 23, 2026 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants