Skip to content

Commit 3bb9d0f

Browse files
committed
Added phpunit.xml.dist for out-of-the-box test runs
1 parent fd5bf69 commit 3bb9d0f

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

phpunit.xml.dist

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd">
5+
<testsuites>
6+
<testsuite name="Library Test Suite">
7+
<directory>Tests</directory>
8+
</testsuite>
9+
</testsuites>
10+
11+
<!-- Filter for code coverage -->
12+
<filter>
13+
<whitelist processUncoveredFilesFromWhitelist="true">
14+
<directory suffix=".php">src/</directory>
15+
<exclude>
16+
<directory>vendor</directory>
17+
<directory>Tests</directory>
18+
</exclude>
19+
</whitelist>
20+
</filter>
21+
</phpunit>

0 commit comments

Comments
 (0)