Supported Test Frameworks
Infection supports the following Test Frameworks:
If you are using Phar distribution (downloading Phar or using Phive), all the test frameworks are bundled into it.
If you are using infection/infection package, only PHPUnit is bundled. Additional Test Frameworks will be automatically installed on demand.
For example, running
shell
infection --test-framework=codeceptionwill notice that adapter is not installed and it will propose to install it in the same process:
shell
We noticed you are using a test framework supported by an external Infection plugin.
Would you like to install infection/codeception-adapter? [yes]:
Installing infection/codeception-adapter...