You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> infection --configuration=tools/infection.json5 --debug -vvv
Box Requirements Checker
========================
> Using PHP 8.2.10
> PHP is using the following php.ini file:
WARNING: No configuration file (php.ini) used by PHP!
> Checking Box requirements:
✔ The application requires the version "^8.1" or greater.
✔ The application requires the extension "zlib".
✔ The application requires the extension "dom".
✔ The application requires the extension "json".
✔ The package "colinodell/json5" requires the extension "json".
✔ The application requires the extension "libxml".
✔ The package "nikic/php-parser" requires the extension "tokenizer".
[OK] Your system is ready to run the application.
[debug] Checking INFECTION_ALLOW_XDEBUG
[debug] The Xdebug extension is loaded (3.2.2) xdebug.mode=coverage
[debug] Process restarting (INFECTION_ALLOW_XDEBUG=internal|3.2.2|1|*|*)
[debug] Running /usr/local/bin/php /usr/local/bin/infection --debug -vvv
Box Requirements Checker
========================
> Using PHP 8.2.10
> PHP is using the following php.ini file:
/tmp/MRaXor
> Checking Box requirements:
✔ The application requires the version "^8.1" or greater.
✔ The application requires the extension "zlib".
✔ The application requires the extension "dom".
✔ The application requires the extension "json".
✔ The package "colinodell/json5" requires the extension "json".
✔ The application requires the extension "libxml".
✔ The package "nikic/php-parser" requires the extension "tokenizer".
[OK] Your system is ready to run the application.
[debug] Checking INFECTION_ALLOW_XDEBUG
[debug] Restarted (438 ms). The Xdebug extension is not loaded
____ ____ __ _
/ _/___ / __/__ _____/ /_(_)___ ____
/ // __ \/ /_/ _ \/ ___/ __/ / __ \/ __ \
_/ // / / / __/ __/ /__/ /_/ / /_/ / / / /
/___/_/ /_/_/ \___/\___/\__/_/\____/_/ /_/
#StandWithUkraine
Infection - PHP Mutation Testing Framework version 0.27.0
Running initial test suite...
codeception version: 5.0.11
3 [============================] 2 secs
Codeception PHP Testing Framework v5.0.11 https://helpukrainewin.org
[Seed] 900094819
[ERROR] Project tests must be in a passing state before running Infection.
Check the executed command to identify the problem: '/var/www/app/vendor/bin/codecept' 'run' '-c'
'tools/codeception.yml' '--no-colors' '--fail-fast' '--coverage-phpunit' 'codeception-coverage-xml' '--xml'
'/var/www/app/var/infection/infection/junit.xml' '-o' 'paths: output: /var/www/app/./var/infection/infection'
'-o' 'coverage: enabled: true' '-o' 'coverage: include: [src/*.php,tests/*.php]' '-o' 'settings: shuffle: true'
codeception reported an exit code of 143.
Refer to the codeception's output below:
STDOUT:
Codeception PHP Testing Framework v5.0.11 https://helpukrainewin.org
[Seed] 900094819
STDERR:
[debug] Restarted process exited 1
Bug if configs placed not in root directory.
If you specify directories relative to the root, then codeception fails with
The "/var/www/app/tools/./src" directory does not exist.
It works if i set pathes like that:
-o 'coverage: include: [../src/*.php,../tests/*.php]'
. But infection fails in both variants:infection.json5
codeception.yml
Output with issue
Passed tests
The text was updated successfully, but these errors were encountered: