____ ____ __ _
/ _/___ / __/__ _____/ /_(_)___ ____
/ // __ \/ /_/ _ \/ ___/ __/ / __ \/ __ \
_/ // / / / __/ __/ /__/ /_/ / /_/ / / / /
/___/_/ /_/_/ \___/\___/\__/_/\____/_/ /_/
Infection - PHP Mutation Testing Framework version dev-feature/json-logger@5ded425776ba32923c6f2e3e5f231622e928ecda
[notice] You are running Infection with PCOV enabled.
Running initial test suite...
PHPUnit version: 8.2.4
[ERROR] Project tests must be in a passing state before running Infection.
Infection runs the test suite in a RANDOM order. Make sure your tests
do not have hidden dependencies.
You can add these attributes to `phpunit.xml` to check it: <phpunit
executionOrder="random" resolveDependencies="true" ...
If you don't want to let Infection run tests in a random order, set the
`executionOrder` to some value, for example <phpunit
executionOrder="default"
Check the executed command to identify the problem:
'/app/infection-builds/phpunit.phar' '--configuration'
'/app/infection-builds/9o0/./infection/phpunitConfiguration.initial.inf
ection.xml'
PHPUnit reported an exit code of 2.
Refer to the PHPUnit's output below:
STDOUT:
PHPUnit 8.2.4 by Sebastian Bergmann and contributors.
Random seed: 1596221691
E 1 /
1 (100%)
Time: 149 ms, Memory: 10.00 MB
There was 1 error:
1) Infected\SourceClassTest::test_outer_method_returns_1
Error: Class 'Infected\ClassWithPublicMethod' not found
/app/infection-builds/9o0/tests/SourceClassTest.php:14
ERRORS!
Tests: 1, Assertions: 0, Errors: 1.
Generating code coverage report in PHPUnit XML format ... done [4 ms]