Options (2)
-j, --threadsbooleanUse a specific number of threads
Example:
infection {{[-j|--threads]}} {{number_of_threads}}-s, --show-mutationsbooleanDisplay the mutation code that has been applied
Example:
infection {{[-s|--show-mutations]}}Examples (8)
Analyze code using the configuration file (or create one if it does not exist)
Use a specific number of threads
infection [-j|--threads] number_of_threadsSpecify a minimum Mutation Score Indicator (MSI)
infection --min-msi percentageSpecify a minimum covered code MSI
infection --min-covered-msi percentageUse a specific test framework (defaults to PHPUnit)
infection --test-framework phpunit|phpspecOnly mutate lines of code that are covered by tests
infection --only-coveredDisplay the mutation code that has been applied
infection [-s|--show-mutations]Specify the log verbosity
infection --log-verbosity default|all|nonemade by @shridhargupta | data from tldr-pages