Paraunit 2.2.0: add Cobertura coverage report format
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 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 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 enum
s 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.
This small patch is just to allow a dependency bump for end users.