Skip to content

Commit 7382ee8

Browse files
committed
add phpunit config file
1 parent 3655d22 commit 7382ee8

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"classmap-authoritative": true
5151
},
5252
"scripts": {
53-
"phpunit": "phpunit ./tests/",
53+
"phpunit": "phpunit",
5454
"php_src": "phpcs --standard=phpcs.xml -s -p --colors ./lib/",
5555
"php_test": "phpcs --standard=phpcs.xml -s -p --colors ./tests/",
5656
"phpmd": "phpmd ./ ansi cleancode,codesize,controversial,design,naming,unusedcode --exclude vendor"

phpunit.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<phpunit colors="true" bootstrap="vendor/autoload.php">
2+
<testsuites>
3+
<testsuite name="unit">
4+
<directory>tests</directory>
5+
</testsuite>
6+
</testsuites>
7+
</phpunit>

0 commit comments

Comments
 (0)