infection
A mutation testing framework for PHP. More information: https://infection.github.io/guide/command-line-options.html.
- Analyze code using the configuration file (or create one if it does not exist):
infection
- Use a specific number of threads:
infection
- Specify a minimum Mutation Score Indicator (MSI):
infection --min-msi
- Specify a minimum covered code MSI:
infection --min-covered-msi
- Use a specific test framework (defaults to PHPUnit):
infection --test-framework
- Only mutate lines of code that are covered by tests:
infection --only-covered
- Display the mutation code that has been applied:
infection
- Specify the log verbosity:
infection --log-verbosity
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
