Update documentation for Infection (Mutation Testing) and use the "nproc" command that returns the number of processors available

This commit is contained in:
Meritoo
2022-02-12 13:33:30 +01:00
parent 31a7ca6d1a
commit a3af138f0c
2 changed files with 6 additions and 4 deletions

View File

@@ -86,4 +86,4 @@ tests.database = ${dir.data.temporary}/database.sqlite
# - Infection (mutation tests)
#
tests.phpunit.command = ./vendor/bin/phpunit --verbose
tests.mutation.command = ./vendor/bin/infection --ansi --threads=5 --coverage=build/reports/infection
tests.mutation.command = ./vendor/bin/infection --ansi --threads=$(nproc) --coverage=build/reports/infection