1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<phpunit
3
3
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
- xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/11 .5/phpunit.xsd"
4
+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/7 .5/phpunit.xsd"
5
5
backupGlobals =" true"
6
- beStrictAboutOutputDuringTests =" true"
7
- beStrictAboutTestsThatDoNotTestAnything =" false"
8
6
bootstrap =" ./phpunit-bootstrap.php"
9
- cacheDirectory =" .phpunit.cache"
10
- displayDetailsOnTestsThatTriggerErrors =" true"
11
- displayDetailsOnTestsThatTriggerWarnings =" false"
12
- displayDetailsOnTestsThatTriggerNotices =" true"
13
- displayDetailsOnTestsThatTriggerDeprecations =" true"
14
- displayDetailsOnPhpunitDeprecations =" false"
15
- failOnWarning =" false"
16
- failOnNotice =" true"
17
- failOnDeprecation =" true"
18
- failOnPhpunitDeprecation =" false"
19
- >
7
+ beStrictAboutTestsThatDoNotTestAnything =" false"
8
+ convertErrorsToExceptions =" true"
9
+ convertWarningsToExceptions =" true"
10
+ convertNoticesToExceptions =" true"
11
+ convertDeprecationsToExceptions =" true"
12
+ colors =" true"
13
+ forceCoversAnnotation =" true" >
14
+
20
15
<testsuites >
21
- <testsuite name =" yCodeTech_Sniffs " >
22
- <directory >./yCodeTech/Tests/</directory >
16
+ <testsuite name =" yCodeTech " >
17
+ <directory suffix = " UnitTest.php " >./yCodeTech/Tests/</directory >
23
18
</testsuite >
24
19
</testsuites >
25
20
26
- <groups >
27
- <exclude >
28
- <group >CBF</group >
29
- </exclude >
30
- </groups >
31
-
32
- <source >
33
- <include >
34
- <directory suffix =" .php" >./yCodeTech/</directory >
35
- </include >
36
- <exclude >
37
- <directory suffix =" UnitTest.php" >./yCodeTech/Tests/</directory >
38
- </exclude >
39
- </source >
40
-
41
- <coverage includeUncoveredFiles =" true" >
42
- <report >
43
- <clover outputFile =" build/logs/clover.xml" />
44
- <text outputFile =" php://stdout" showOnlySummary =" true" />
45
- </report >
46
- </coverage >
21
+ <filter >
22
+ <whitelist addUncoveredFilesFromWhitelist =" true" >
23
+ <directory suffix =" .php" >./yCodeTech/Sniffs/</directory >
24
+ </whitelist >
25
+ </filter >
47
26
48
- <php >
49
- <env name = " PHP_CODESNIFFER_CBF " value = " 0 " />
50
- </php >
51
- </phpunit >
27
+ <logging >
28
+ <log type = " coverage-clover " target = " build/logs/clover.xml " />
29
+ </logging >
30
+ </phpunit >
0 commit comments