New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Phar distribution #1
Milestone
Comments
Closed
maks-rafalko
added a commit
that referenced
this issue
Aug 7, 2021
…andom ordering of the tests since we need them to be sorted (fastest - first) When Infection build Mutant's `phpunit.xml` file, we add `<file>` tags, sorted by tests execution time, so that the fastest tests runs first. But when the original `phpunit.xml` contains `executionOrder="default"`, it was inherited to Mutant's `phpunit.xml` and broke the order, running the tests in a random order each time `infection` was executed. This also explains why I got different execution time of Infection for the project with *functional* tests. When Mutant is covered by 1000 functional tests, and tests are executed by random, it can be killed by the first test in run #1 and can be killed by 1000-th test in run #2, if the killing test is executed the last. With this update, all the tests will be executed in the same orders (fastest - first) in all the infection runs.
maks-rafalko
added a commit
that referenced
this issue
Aug 7, 2021
…andom ordering of the tests since we need them to be sorted (fastest - first) (#1547) When Infection build Mutant's `phpunit.xml` file, we add `<file>` tags, sorted by tests execution time, so that the fastest tests runs first. But when the original `phpunit.xml` contains `executionOrder="default"`, it was inherited to Mutant's `phpunit.xml` and broke the order, running the tests in a random order each time `infection` was executed. This also explains why I got different execution time of Infection for the project with *functional* tests. When Mutant is covered by 1000 functional tests, and tests are executed by random, it can be killed by the first test in run #1 and can be killed by 1000-th test in run #2, if the killing test is executed the last. With this update, all the tests will be executed in the same orders (fastest - first) in all the infection runs.
maks-rafalko
added a commit
that referenced
this issue
Dec 7, 2021
``` PHP Fatal error: Uncaught TypeError: Composer\XdebugHandler\XdebugHandler::setLogger(): Argument #1 ($logger) must be of type Psr\Log\LoggerInterface, _HumbugBoxacfef8e3819a\Infection\Logger\ConsoleLogger given, called in phar:///home/maksrafalko/apps/infection/build/infection.phar/src/Console/XdebugHandler.php on line 15 and defined in /infection/vendor/composer/xdebug-handler/src/XdebugHandler.php:93 Stack trace: ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As a developer, I want to have Infection Phar Distribution
And be able to self-update it
The text was updated successfully, but these errors were encountered: