composer update
This commit is contained in:
Vendored
+2
-23
@@ -4,14 +4,14 @@ ParaTest
|
||||
[](https://packagist.org/packages/brianium/paratest)
|
||||
[](https://packagist.org/packages/brianium/paratest)
|
||||
[](https://github.com/paratestphp/paratest/actions)
|
||||
[](https://dashboard.stryker-mutator.io/reports/github.com/paratestphp/paratest/7.x)
|
||||
[](https://dashboard.stryker-mutator.io/reports/github.com/paratestphp/paratest/7.x)
|
||||
|
||||
The objective of ParaTest is to support parallel testing in PHPUnit. Provided you have well-written PHPUnit tests, you can drop `paratest` in your project and
|
||||
start using it with no additional bootstrap or configurations!
|
||||
|
||||
Benefits:
|
||||
|
||||
* Zero configuration. After the installation, run with `vendor/bin/paratest`. That's it!
|
||||
* Zero configuration. After the installation, run with `vendor/bin/paratest` to parallelize by TestCase or `vendor/bin/paratest --functional` to parallelize by Test. That's it!
|
||||
* Code Coverage report combining. Run your tests in N parallel processes and all the code coverage output will be combined into one report.
|
||||
|
||||
# Installation
|
||||
@@ -72,14 +72,6 @@ If you have `xDebug` installed, activating it by the environment variable is eno
|
||||
XDEBUG_MODE=coverage vendor/bin/paratest
|
||||
```
|
||||
|
||||
### PHPDBG
|
||||
|
||||
`PHPDBG` is automatically detected and used in the subprocesses if it's the running binary of the main process:
|
||||
|
||||
```
|
||||
phpdbg vendor/bin/paratest
|
||||
```
|
||||
|
||||
## Initial setup for all tests
|
||||
|
||||
Because ParaTest runs multiple processes in parallel, each with their own instance of the PHP interpreter,
|
||||
@@ -136,19 +128,6 @@ When a sub-process fails, the originating command is given in the output and can
|
||||
to be run and debugged. All internal commands run with `--printer [...]\NullPhpunitPrinter` which silence the original
|
||||
PHPUnit output: during a debugging run remove that option to restore the output and see what PHPUnit is doing.
|
||||
|
||||
## Windows
|
||||
|
||||
Windows users be sure to use the appropriate batch files.
|
||||
|
||||
An example being:
|
||||
|
||||
`vendor\bin\paratest.bat ...`
|
||||
|
||||
ParaTest assumes [PSR-0](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md) for loading tests.
|
||||
|
||||
For convenience, ParaTest for Windows uses 79 columns mode to prevent blank lines in the standard
|
||||
80x25 windows console.
|
||||
|
||||
## Caveats
|
||||
|
||||
1. Constants, static methods, static variables and everything exposed by test classes consumed by other test classes
|
||||
|
||||
Reference in New Issue
Block a user