diff --git a/.gitignore b/.gitignore index f950a50..7b61981 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,7 @@ typo3 /Tests /Results infection* -phpunit.xml.dist +/phpunit.xml.dist debug-log.txt per-mutator.md summary-log.txt diff --git a/Resources/Private/Configs/phpunit.xml.dist b/Resources/Private/Configs/phpunit.xml.dist new file mode 100644 index 0000000..7b93a5c --- /dev/null +++ b/Resources/Private/Configs/phpunit.xml.dist @@ -0,0 +1,30 @@ + + + + + + Tests/Unit/ + + + + + + Classes + + + diff --git a/composer.json b/composer.json index e0b065c..42b3d9a 100644 --- a/composer.json +++ b/composer.json @@ -26,5 +26,11 @@ "require-dev": { "phpunit/phpunit": "^9.3", "phpspec/prophecy-phpunit": "^2.0" + }, + "config": { + "allow-plugins": { + "typo3/class-alias-loader": true, + "typo3/cms-composer-installers": true + } } } diff --git a/readme.rst b/readme.rst index bd9955b..c9c0fc3 100644 --- a/readme.rst +++ b/readme.rst @@ -287,11 +287,7 @@ Tests from user view, e.g. via browser. Mutation testing ^^^^^^^^^^^^^^^^ -Tests how easy it is to break test:: - - cp Resources/Private/Configs/infection.json.dist infection.json.dist - - ./vendor/bin/infection +Tests how easy it is to break test. * https://infection.github.io/