infection

infection

TLDR

Analyse code using the configuration file (or create one if it does not exist)

>_ infection
copy

Use a specific number of threads

>_ infection --threads [number_of_threads]
copy

Specify a minimum Mutation Score Indicator (MSI)

>_ infection --min-msi [percentage]
copy

Specify a minimum covered code MSI

>_ infection --min-covered-msi [percentage]
copy

Use a specific test framework (defaults to phpunit)

>_ infection --test-framework [phpunit|phpspec]
copy

Only mutate lines of code that are covered by tests

>_ infection --only-covered
copy

Display the mutation code that has been applied

>_ infection --show-mutations
copy

Specify the log verbosity

>_ infection --log-verbosity [default|all|none]
copy

Copied to clipboard
free 100$ digital ocean credit