Skip to content

Commit 8f018cb

Browse files
committed
tests: integrate phpunit
1 parent 5ca9c13 commit 8f018cb

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,8 @@
2323
"laravel/framework": "^11.35",
2424
"phpunit/phpunit": "^11.5",
2525
"orchestra/testbench-core": "^9.8"
26+
},
27+
"scripts": {
28+
"test": "./vendor/bin/phpunit"
2629
}
2730
}

phpunit.xml.dist

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit
3+
backupGlobals="false"
4+
colors="true"
5+
processIsolation="false"
6+
stopOnFailure="false"
7+
executionOrder="random"
8+
failOnWarning="true"
9+
failOnRisky="true"
10+
failOnEmptyTestSuite="true"
11+
failOnPhpunitDeprecation="true"
12+
beStrictAboutOutputDuringTests="true"
13+
>
14+
<testsuites>
15+
<testsuite name="Laravel Bus Fluentable Test Suite">
16+
<directory>tests</directory>
17+
</testsuite>
18+
</testsuites>
19+
</phpunit>

0 commit comments

Comments
 (0)