Skip to content

Commit c394483

Browse files
authored
refactor: display all issues on testing (#150)
1 parent eae0c18 commit c394483

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/Template/phpunit.xml.dist

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,18 @@
44
bootstrap="vendor/codeigniter4/framework/system/Test/bootstrap.php"
55
backupGlobals="false"
66
beStrictAboutOutputDuringTests="true"
7+
beStrictAboutCoverageMetadata="true"
8+
cacheDirectory="build/.phpunit.cache"
79
colors="true"
10+
displayDetailsOnAllIssues="true"
811
executionOrder="random"
912
failOnRisky="true"
1013
failOnWarning="true"
1114
stopOnError="false"
1215
stopOnFailure="false"
1316
stopOnIncomplete="false"
1417
stopOnSkipped="false"
15-
cacheDirectory="build/.phpunit.cache"
16-
beStrictAboutCoverageMetadata="true">
18+
>
1719
<coverage includeUncoveredFiles="true">
1820
<report>
1921
<clover outputFile="build/phpunit/clover.xml"/>
@@ -23,23 +25,27 @@
2325
<xml outputDirectory="build/phpunit/xml-coverage"/>
2426
</report>
2527
</coverage>
28+
2629
<testsuites>
2730
<testsuite name="main">
2831
<directory>./tests</directory>
2932
</testsuite>
3033
</testsuites>
34+
3135
<extensions>
3236
<bootstrap class="Nexus\PHPUnit\Tachycardia\TachycardiaExtension">
3337
<parameter name="time-limit" value="0.50"/>
3438
<parameter name="report-count" value="30"/>
3539
<parameter name="format" value="table"/>
3640
</bootstrap>
3741
</extensions>
42+
3843
<logging>
3944
<testdoxHtml outputFile="build/phpunit/testdox.html"/>
4045
<testdoxText outputFile="build/phpunit/testdox.txt"/>
4146
<junit outputFile="build/phpunit/junit.xml"/>
4247
</logging>
48+
4349
<php>
4450
<env name="XDEBUG_MODE" value="coverage"/>
4551
<server name="app.baseURL" value="https://example.com/"/>
@@ -62,6 +68,7 @@
6268
<env name="database.tests.DBPrefix" value="tests_"/>
6369
-->
6470
</php>
71+
6572
<source>
6673
<include>
6774
<directory suffix=".php">./app/</directory>

0 commit comments

Comments
 (0)