mirror of
https://github.com/furyfire/trueskill.git
synced 2025-01-26 13:40:06 +00:00
Added mutation testing.
This commit is contained in:
@ -22,9 +22,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "vendor/bin/phpunit tests --display-warnings",
|
"test": "vendor/bin/phpunit tests --display-warnings",
|
||||||
"test-coverage": "vendor/bin/phpunit tests --testdox --coverage-filter src --coverage-html output/coverage --coverage-text --testdox-html output/test.html --log-junit output/test.xml",
|
"test-coverage": "vendor/bin/phpunit tests --testdox --coverage-filter src --coverage-html output/coverage --coverage-text --testdox-html output/test.html --log-junit output/test.xml",
|
||||||
"document": "phpDocumentor --setting=graphs.enabled=true",
|
"document": "phpDocumentor --setting=graphs.enabled=true",
|
||||||
"analyze": [
|
"analyze": [
|
||||||
"@analyze-phpstan",
|
"@analyze-phpstan",
|
||||||
"@analyze-psalm",
|
"@analyze-psalm",
|
||||||
|
16
infection.json5
Normal file
16
infection.json5
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://raw.githubusercontent.com/infection/infection/0.27.9/resources/schema.json",
|
||||||
|
"source": {
|
||||||
|
"directories": [
|
||||||
|
"src"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"logs": {
|
||||||
|
"text": "output/mutation/infection.log",
|
||||||
|
"html": "output/mutation/infection.html",
|
||||||
|
"summary": "output/mutation/summary.log",
|
||||||
|
},
|
||||||
|
"mutators": {
|
||||||
|
"@default": true
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user