Skip to content

Commit e68c4ad

Browse files
committed
Take all testsuites in account
1 parent 441b705 commit e68c4ad

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

packages/admin/phpunit.xml

+6
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@
2525
<testsuite name="Feature">
2626
<directory suffix="Test.php">./tests/Feature</directory>
2727
</testsuite>
28+
<testsuite name="Resources">
29+
<directory suffix="Test.php">./tests/resources</directory>
30+
</testsuite>
31+
<testsuite name="Stubs">
32+
<directory suffix="Test.php">./tests/Stubs</directory>
33+
</testsuite>
2834
</testsuites>
2935
<php>
3036
<env name="DB_CONNECTION" value="testing"/>

packages/core/phpunit.xml

+6
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@
2828
<testsuite name="Database">
2929
<directory suffix="Test.php">./tests/Database</directory>
3030
</testsuite>
31+
<testsuite name="Stubs">
32+
<directory suffix="Test.php">./tests/Stubs</directory>
33+
</testsuite>
34+
<testsuite name="Utils">
35+
<directory suffix="Test.php">./tests/Utils</directory>
36+
</testsuite>
3137
</testsuites>
3238
<php>
3339
<env name="DB_CONNECTION" value="testing"/>

phpunit.xml

+12-3
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,20 @@
2020
</coverage>
2121
<testsuites>
2222
<testsuite name="Unit">
23-
<directory suffix="Test.php">packages/**/tests</directory>
23+
<directory suffix="Test.php">./packages/**/tests/Unit</directory>
24+
</testsuite>
25+
<testsuite name="Feature">
26+
<directory suffix="Test.php">./packages/**/tests/Feature</directory>
27+
</testsuite>
28+
<testsuite name="Database">
29+
<directory suffix="Test.php">./packages/**/tests/Database</directory>
30+
</testsuite>
31+
<testsuite name="Stubs">
32+
<directory suffix="Test.php">./packages/**/tests/Stubs</directory>
2433
</testsuite>
2534
<testsuite name="Utils">
26-
<directory suffix="Test.php">utils/**/tests</directory>
27-
<exclude>utils/scout-database-engine/**</exclude>
35+
<directory suffix="Test.php">packages/**/tests/Utils</directory>
36+
<directory suffix="Test.php">utils/livewire-tables/tests</directory>
2837
</testsuite>
2938
</testsuites>
3039
<php>

0 commit comments

Comments
 (0)