phpunit
phpunit copied to clipboard
The PHP Unit Testing framework.
When the `--testdox` CLI option is used in PHPUnit 9.5 then TestDox output replaces both the default progress output and the default result output. When tests are reordered, then PHPUnit...
Hello | Q | A | --------------------| --------------- | PHPUnit version | 9.5.x | PHP version | 7.4.30 or 8.0.23 or 8.1.10 | Installation Method | PHAR or tool via...
| Q | A | --------------------| --------------- | PHPUnit version | PHPUnit 9.5.24 #StandWithUkraine | PHP version | PHP 8.1.10 (cli) (built: Sep 4 2022 08:41:25) (NTS) | Installation Method...
| Q | A | --------------------| --------------- | PHPUnit version | 9.5.24 | PHP version | 8.1 | Installation Method | Composer #### Summary Mocking a class with a method...
| Q | A | --------------------| --------------- | PHPUnit version | PHPUnit 9.5.24 | PHP version | 8.2.0-dev | Installation Method | Composer #### Summary `vendor/bin/phpunit --coverage-html someRelativeDir` someRelativeDir **should...
The fix for #4913 (0ccac7f74540cae2d2de0848efcf28d5e9d21411) needs to be ported to `main`.
If a data provider method uses complex logic and loops to build up its array of datasets, then it can be easy to accidentally create duplicate sets. The presence of...
With either of these two (minimal) formats in the config files: ``` ../../application/modules/provider-api/code/Controller/ProviderApiController.php ``` ``` ../../application/modules/provider-api/code/Controller/ProviderApiController.php ``` If I output the coverage as php then I get a whole load...