|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<phpunit backupGlobals="false" |
3 | | - backupStaticAttributes="false" |
4 | | - colors="true" |
5 | | - convertErrorsToExceptions="true" |
6 | | - convertNoticesToExceptions="true" |
7 | | - convertWarningsToExceptions="true" |
8 | | - processIsolation="false" |
9 | | - stopOnFailure="false" |
10 | | - bootstrap="./tests/bootstrap.php"> |
11 | | - <testsuites> |
12 | | - <testsuite name="Unit tests"> |
13 | | - <directory>./vendor/simplesamlphp/simplesamlphp-test-framework/src</directory> |
14 | | - <directory>./tests</directory> |
15 | | - </testsuite> |
16 | | - </testsuites> |
17 | | - <filter> |
18 | | - <whitelist processUncoveredFilesFromWhitelist="true"> |
19 | | - <directory suffix=".php">./lib/</directory> |
20 | | - <directory suffix=".php">./modules/admin/lib/</directory> |
21 | | - <directory suffix=".php">./modules/core/lib/</directory> |
22 | | - <directory suffix=".php">./modules/cron/lib/</directory> |
23 | | - <directory suffix=".php">./modules/exampleauth/lib/</directory> |
24 | | - <directory suffix=".php">./modules/multiauth/lib/</directory> |
25 | | - <directory suffix=".php">./modules/saml/lib/</directory> |
26 | | - <exclude> |
27 | | - <directory>./vendor/</directory> |
28 | | - <directory>./tests/</directory> |
29 | | - <file>./lib/SimpleSAML/Utils/HttpAdapter.php</file> |
30 | | - </exclude> |
31 | | - </whitelist> |
32 | | - </filter> |
33 | | - <logging> |
34 | | - <log type="coverage-text" target="php://stdout" showUncoveredFiles="true"/> |
35 | | - <log type="coverage-html" target="build/coverage" lowUpperBound="35" highLowerBound="70"/> |
36 | | - <log type="coverage-clover" target="build/logs/clover.xml"/> |
37 | | - </logging> |
| 2 | +<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" bootstrap="./tests/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> |
| 3 | + <coverage processUncoveredFiles="true"> |
| 4 | + <include> |
| 5 | + <directory suffix=".php">./lib/</directory> |
| 6 | + <directory suffix=".php">./modules/admin/lib/</directory> |
| 7 | + <directory suffix=".php">./modules/core/lib/</directory> |
| 8 | + <directory suffix=".php">./modules/cron/lib/</directory> |
| 9 | + <directory suffix=".php">./modules/exampleauth/lib/</directory> |
| 10 | + <directory suffix=".php">./modules/multiauth/lib/</directory> |
| 11 | + <directory suffix=".php">./modules/saml/lib/</directory> |
| 12 | + </include> |
| 13 | + <exclude> |
| 14 | + <directory>./vendor/</directory> |
| 15 | + <directory>./tests/</directory> |
| 16 | + <file>./lib/SimpleSAML/Utils/HttpAdapter.php</file> |
| 17 | + </exclude> |
| 18 | + <report> |
| 19 | + <clover outputFile="build/logs/clover.xml"/> |
| 20 | + <html outputDirectory="build/coverage" lowUpperBound="35" highLowerBound="70"/> |
| 21 | + <text outputFile="php://stdout" showUncoveredFiles="true"/> |
| 22 | + </report> |
| 23 | + </coverage> |
| 24 | + <testsuites> |
| 25 | + <testsuite name="Unit tests"> |
| 26 | + <directory>./vendor/simplesamlphp/simplesamlphp-test-framework/src</directory> |
| 27 | + <directory>./tests</directory> |
| 28 | + </testsuite> |
| 29 | + </testsuites> |
| 30 | + <logging/> |
38 | 31 | </phpunit> |
0 commit comments