Skip to content

Commit 5d68af6

Browse files
committed
upgrade phpunit configuration
1 parent 1de1f0b commit 5d68af6

File tree

1 file changed

+19
-33
lines changed

1 file changed

+19
-33
lines changed

phpunit.xml.dist

Lines changed: 19 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,21 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
3-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/7.4/phpunit.xsd"
5-
bootstrap="./vendor/autoload.php"
6-
colors="true"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true">
10-
<php>
11-
<env name="SHELL_VERBOSITY" value="-1" />
12-
<server name="KERNEL_DIR" value="./tests/Resources/app" />
13-
<server name="KERNEL_CLASS" value="AppKernel" />
14-
</php>
15-
16-
<testsuites>
17-
<testsuite name="HttplugBundle unit tests">
18-
<directory suffix="Test.php">./tests/Unit</directory>
19-
</testsuite>
20-
<testsuite name="HttplugBundle functional tests">
21-
<directory suffix="Test.php">./tests/Functional</directory>
22-
</testsuite>
23-
</testsuites>
24-
25-
<filter>
26-
<whitelist>
27-
<directory>./</directory>
28-
<exclude>
29-
<directory>./Resources</directory>
30-
<directory>./tests</directory>
31-
<directory>./vendor</directory>
32-
</exclude>
33-
</whitelist>
34-
</filter>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" bootstrap="./vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true">
3+
<coverage>
4+
<include>
5+
<directory>./src</directory>
6+
</include>
7+
</coverage>
8+
<php>
9+
<env name="SHELL_VERBOSITY" value="-1"/>
10+
<server name="KERNEL_DIR" value="./tests/Resources/app"/>
11+
<server name="KERNEL_CLASS" value="AppKernel"/>
12+
</php>
13+
<testsuites>
14+
<testsuite name="HttplugBundle unit tests">
15+
<directory suffix="Test.php">./tests/Unit</directory>
16+
</testsuite>
17+
<testsuite name="HttplugBundle functional tests">
18+
<directory suffix="Test.php">./tests/Functional</directory>
19+
</testsuite>
20+
</testsuites>
3521
</phpunit>

0 commit comments

Comments
 (0)