Skip to content

Commit 769dc6b

Browse files
authored
Switch execution order of testsuites, unit tests first
Unit tests usually run faster and provide more fine-granular feedback if something is broken. If some small part of the application is broken, it may easily cause all the feature tests to fail, while not providing useful feedback.
1 parent e7a74be commit 769dc6b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

phpunit.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
processIsolation="false"
1010
stopOnFailure="false">
1111
<testsuites>
12-
<testsuite name="Feature">
13-
<directory suffix="Test.php">./tests/Feature</directory>
14-
</testsuite>
15-
1612
<testsuite name="Unit">
1713
<directory suffix="Test.php">./tests/Unit</directory>
1814
</testsuite>
15+
16+
<testsuite name="Feature">
17+
<directory suffix="Test.php">./tests/Feature</directory>
18+
</testsuite>
1919
</testsuites>
2020
<filter>
2121
<whitelist processUncoveredFilesFromWhitelist="true">

0 commit comments

Comments
 (0)