Skip to content

Commit 92c38e2

Browse files
author
Maxofil
committed
+ subory
1 parent 0047a23 commit 92c38e2

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

infection.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"source": {
3+
"directories": [
4+
"src"
5+
]
6+
},
7+
"timeout": 10,
8+
"logs": {
9+
"text": "build/infection.log",
10+
"summary": "build/summary.log",
11+
"perMutator": "build/per-mutator.md",
12+
"badge": {
13+
"branch": "master"
14+
}
15+
},
16+
"tmpDir": "/tmp/infection",
17+
"minMsi": 80,
18+
"mutators": {
19+
"@default": true
20+
},
21+
"testFramework":"phpunit",
22+
"testFrameworkOptions": "-vvv"
23+
}

phpunit.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<phpunit colors="true">
3+
<testsuites>
4+
<testsuite name="unit">
5+
<directory>tests</directory>
6+
</testsuite>
7+
</testsuites>
8+
<filter>
9+
<whitelist processUncoveredFilesFromWhitelist="true">
10+
<directory suffix=".php">src</directory>
11+
</whitelist>
12+
</filter>
13+
<logging>
14+
<log type="coverage-html" target="build/html" lowUpperBound="50" highLowerBound="90"/>
15+
<log type="coverage-text" target="php://stdout" showOnlySummary="true"/>
16+
<log type="coverage-clover" target="build/coverage.xml"/>
17+
<log type="coverage-php" target="build/coverage.serialized"/>
18+
<log type="junit" target="build/logfile.xml"/>
19+
</logging>
20+
</phpunit>

0 commit comments

Comments
 (0)