____ ____ __ _
/ _/___ / __/__ _____/ /_(_)___ ____
/ // __ \/ /_/ _ \/ ___/ __/ / __ \/ __ \
_/ // / / / __/ __/ /__/ /_/ / /_/ / / / /
/___/_/ /_/_/ \___/\___/\__/_/\____/_/ /_/
Infection - PHP Mutation Testing Framework version 0.17.0@201c8ea39a3748552bfadb109ca3bc41f3259cd2
[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/dln/./infection/phpunitConfiguration.initial.inf
ection.xml'
PHPUnit reported an exit code of 1.
Refer to the PHPUnit's output below:
STDOUT:
PHPUnit 8.2.4 by Sebastian Bergmann and contributors.
Random seed: 1598470537
F 1 /
1 (100%)
Time: 122 ms, Memory: 10.00 MB
There was 1 failure:
1) Infected\SourceClassTest::test_it_adds_2_numbers
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
Array &0 (
- 'a' => null
+ 'a' => 1
)
/app/infection-builds/dln/tests/SourceClassTest.php:18
FAILURES!
Tests: 1, Assertions: 1, Failures: 1.
Generating code coverage report in PHPUnit XML format ... done [7 ms]