Paraunit

A package for faster PHP testsuites

Stable version Unstable version Build status AppVeyor build status Code coverage

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. Added Add --cobertura coverage report format, useful for GitLab test code coverage visualization

Paraunit 2.1.0: add --sort=random option

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. Added Add --sort=random option to execute test classes in random order

Paraunit 2.0.0: PHPUnit 10 support and a big internal refactor

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!

Paraunit 1.3.0: new chunk size feature, Symfony 6 support

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. Here’s the full changelog of the release: