Hi Maks - I have a git hub repo set up - but I’m struggling a little - I have some basic tests that in theory should allow true/false mutants to exist. I have 100% coverage, but should still have mutatnts here. Strangely infection doesn’t generate any mutants -
➜ infection-test git:(master) vendor/bin/infection --coverage=coverage You are running Infection with xdebug enabled. ____ ____ __ _ / _/___ / __/__ _____/ /_(_)___ ____ / // __ \/ /_/ _ \/ ___/ __/ / __ \/ __ \ _/ // / / / __/ __/ /__/ /_/ / /_/ / / / / /___/_/ /_/_/ \___/\___/\__/_/\____/_/ /_/ Running initial test suite... PHPUnit version: 7.0.2 7 [============================] < 1 sec Generate mutants... Processing source code files: 1/1 Creating mutated files and processes: 0/0 .: killed, M: escaped, S: uncovered, E: fatal error, T: timed out 0 mutations were generated: 0 mutants were killed 0 mutants were not covered by tests 0 covered mutants were not detected 0 errors were encountered 0 time outs were encountered Metrics: Mutation Score Indicator (MSI): 0% Mutation Code Coverage: 0% Covered Code MSI: 0% Please note that some mutants will inevitably be harmless (i.e. false positives).
GitHub repo can be found here : https://github.com/computamike/infection-test
is there any specific point that require attention
you can take a look at the comments inside Codeception integration. Many of them are still not addressed. For example - there is no need to update public API of existing interfaces, adding
$mutant parameter where it is not needed (https://github.com/infection/infection/pull/143#discussion_r165826810)
do you prefer to have a pull request about it on the side instead of all together?
I would prefer to have it separated to reduce complexity of the code review
regarding license - we have a php-cs-fixer rule for it
regarding slack, is there any autoinvitation stuff or did I need to send you my email address?
https://symfony.com/slack-invite - our channel is inside symfony-dev account
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
phpdbg -qrr -dmemory_limit=1G vendor/bin/infection --min-msi=95 --min-covered-msi=98 --threads=4
PHP Warning: DOMDocument::schemaValidate(): Invalid Schema in /home/travis/build/libresend/libresend/vendor/infection/infection/src/TestFramework/PhpUnit/Config/XmlConfigurationHelper.php on line 140 Warning: DOMDocument::schemaValidate(): Invalid Schema in /home/travis/build/libresend/libresend/vendor/infection/infection/src/TestFramework/PhpUnit/Config/XmlConfigurationHelper.php on line 140 In InvalidPhpUnitXmlConfigException.php line 52: phpunit.xml file does not pass XSD schema validation. [Warning] failed to l oad external entity "/home/travis/build/libresend/libresend/bin/.phpunit/ph punit.xsd" [Error] Failed to locate the main schema resource at '/home/travis/build/li bresend/libresend/bin/.phpunit/phpunit.xsd'.