File tree Expand file tree Collapse file tree 3 files changed +20
-7
lines changed Expand file tree Collapse file tree 3 files changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -187,4 +187,6 @@ FakesAssemblies/
187
187
composer.lock
188
188
189
189
# .vs
190
- .vs /
190
+ .vs /
191
+
192
+ .phpunit.result.cache
Original file line number Diff line number Diff line change 36
36
"psr-4" : {
37
37
"Tests\\ " : " tests/"
38
38
}
39
+ },
40
+ "scripts" : {
41
+ "test" : [
42
+ " XDEBUG_MODE=coverage phpunit"
43
+ ]
39
44
}
40
45
}
Original file line number Diff line number Diff line change 1
- <?xml version =" 1.0" encoding =" UTF-8" ?>
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<phpunit backupGlobals =" false"
3
3
backupStaticAttributes =" false"
4
4
colors =" true"
5
5
convertErrorsToExceptions =" true"
6
6
convertNoticesToExceptions =" true"
7
7
convertWarningsToExceptions =" true"
8
8
processIsolation =" false"
9
+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd"
10
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
11
stopOnFailure =" false" >
10
12
<testsuites >
11
13
<testsuite name =" Unit" >
12
14
<directory suffix =" Test.php" >./tests</directory >
13
15
</testsuite >
14
16
</testsuites >
15
- <filter >
16
- <whitelist processUncoveredFilesFromWhitelist = " true " >
17
+ <coverage processUncoveredFiles = " true " >
18
+ <include >
17
19
<directory suffix =" .php" >./lib</directory >
18
- </whitelist >
19
- </filter >
20
- </phpunit >
20
+ </include >
21
+ <report >
22
+ <html outputDirectory =" build/coverage" />
23
+ <text outputFile =" php://stdout" />
24
+ </report >
25
+ </coverage >
26
+ </phpunit >
You can’t perform that action at this time.
0 commit comments