Skip to content

Commit 7b78daf

Browse files
committed
chore: add phpunit.xml.
1 parent 6252f66 commit 7b78daf

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
],
3333
"scripts": {
3434
"test": [
35-
"php vendor/phpunit/phpunit/phpunit --colors test/"
35+
"php vendor/phpunit/phpunit/phpunit"
3636
],
3737
"build": [
3838
"php -d phar.readonly=off ./vendor/bin/phar-composer build ./"

phpunit.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit
3+
bootstrap="vendor/autoload.php"
4+
colors="true"
5+
executionOrder="depends,defects"
6+
failOnRisky="true"
7+
failOnWarning="true"
8+
>
9+
<testsuites>
10+
<testsuite name="default">
11+
<directory>test</directory>
12+
</testsuite>
13+
</testsuites>
14+
</phpunit>

0 commit comments

Comments
 (0)