Skip to content

Commit 4561aae

Browse files
authored
Tests: Move phpunit config from composer script to config file (#24)
1 parent e17df73 commit 4561aae

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"minimum-stability": "dev",
2525
"prefer-stable": true,
2626
"scripts": {
27-
"test": "./vendor/bin/phpunit --bootstrap ./VariableAnalysis/Tests/bootstrap.php --printer=LimeDeck\\\\Testing\\\\Printer ./VariableAnalysis/Tests"
27+
"test": "./vendor/bin/phpunit"
2828
},
2929
"require" : {
3030
"php" : ">=5.4.0"

phpunit.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<phpunit
2+
bootstrap="VariableAnalysis/Tests/bootstrap.php"
3+
printerClass="LimeDeck\Testing\Printer"
4+
>
5+
<testsuites>
6+
<testsuite>
7+
<directory>VariableAnalysis/Tests</directory>
8+
</testsuite>
9+
</testsuites>
10+
</phpunit>

0 commit comments

Comments
 (0)