This new minor versions adds support for the Cobertura coverage report, which is supported by many services and tool, with GitLab as a prominent one.
This new minor versions adds a new, small feature to support one small sorting option, the random one. This is useful to mix test execution, if you’re encountering deadlocks and performance bottlenecks due to the concentration of certain tests in some areas of your test suite.
This new minor release is a maintenance one, which drops support for older (and EOLed) PHP & Symfony versions; this allowed me to bump all the development dependencies and streamline the CI flow.
This new major version has seen its inception a long time ago, on October 2021, and it went to sleep for a long time, since PHPUnit development was doing the same. After some additional attempts, I was finally able to complete this alongside the long-awaited release of PHPUnit 10.
All the changes in PHPUnit allowed me to finally bump the minimum PHP version to 8.1 (so that
enums are now usable!) and do a big refactoring of internals, changing and simplifying the way tests outcome are handled. Also, I took the occasion to clean up all the additional options that were hard-coded, and add the
--pass-through option as a viable alternative.
The full changelog is small, the changes for the end user are small, but the code changes are a lot!
This new minor release comes after more than a year since the last tag.
It actually comes with a couple of new interesting features, one of which is a new behavior for tests parallelization. The new
--chunk-size option, when set at a value higher that
1, will execute more than one test class per single process, making the execution faster for test suites where the class setup is expensive.