Skip to content

Commit e95c027

Browse files
authored
Merge pull request #7 from elminson/elminson-Test-enhancement
Update phpunit.xml.dist.raw
2 parents 17877cc + 31006ff commit e95c027

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

src/phpunit.xml.dist.raw

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
1-
<phpunit bootstrap="src/autoload.php">
2-
<testsuites>
3-
<testsuite name="{!projectname!}">
4-
<file>tests/test{!projectname!}.php</file>
5-
<directory>tests/*Test.php</directory>
6-
<exclude></exclude>
7-
</testsuite>
8-
</testsuites>
9-
</phpunit>
1+
<?xml version="1.0"?>
2+
<testsuites>
3+
<phpunit colors="true" bootstrap="../vendor/autoload.php">
4+
<testsuite name="{!projectname!}">
5+
<testsuites>
6+
<file>tests/test{!projectname!}.php</file>
7+
<testsuite name="{!projectname!}">
8+
<directory>tests/*Test.php</directory>
9+
<directory suffix=".php">./</directory>
10+
<exclude></exclude>
11+
</testsuite>
12+
</testsuite>
13+
</testsuites>
14+
</testsuites>
15+
<filter>
16+
</phpunit>
17+
<whitelist processUncoveredFilesFromWhitelist="true">
18+
<directory suffix=".php">../src</directory>
19+
</whitelist>
20+
</filter>
21+
</phpunit>

0 commit comments

Comments
 (0)