Skip to content

Commit 1da42eb

Browse files
committed
PHPUnit : Changed the configuration file
1 parent 22f94cd commit 1da42eb

File tree

2 files changed

+22
-21
lines changed

2 files changed

+22
-21
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.phpunit.cache
2+
.phpunit.result.cache
23
composer.lock
34

45
vendor/

phpunit.xml.dist

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd"
4-
bootstrap="vendor/autoload.php"
5-
cacheDirectory=".phpunit.cache"
6-
executionOrder="depends,defects"
7-
requireCoverageMetadata="true"
8-
beStrictAboutCoverageMetadata="true"
9-
beStrictAboutOutputDuringTests="true"
10-
failOnRisky="true"
11-
failOnWarning="true"
12-
displayDetailsOnTestsThatTriggerWarnings="true">
1+
<phpunit backupGlobals="false"
2+
backupStaticAttributes="false"
3+
bootstrap="./vendor/autoload.php"
4+
colors="true"
5+
convertErrorsToExceptions="true"
6+
convertNoticesToExceptions="true"
7+
convertWarningsToExceptions="true"
8+
processIsolation="false"
9+
stopOnFailure="false">
1310
<testsuites>
14-
<testsuite name="default">
15-
<directory>tests</directory>
11+
<testsuite name="PhpOffice\Math Test Suite">
12+
<directory>./tests/Math</directory>
1613
</testsuite>
1714
</testsuites>
18-
19-
<source >
20-
<include>
21-
<directory>src</directory>
22-
</include>
23-
</source>
24-
</phpunit>
15+
<filter>
16+
<whitelist>
17+
<directory suffix=".php">./src</directory>
18+
</whitelist>
19+
</filter>
20+
<logging>
21+
<log type="coverage-html" target="./build/coverage" />
22+
<log type="coverage-clover" target="./build/clover.xml" />
23+
</logging>
24+
</phpunit>

0 commit comments

Comments
 (0)