diff --git a/RoboFile.php b/RoboFile.php index de23eba..36f2195 100644 --- a/RoboFile.php +++ b/RoboFile.php @@ -63,7 +63,7 @@ class RoboFile extends Tasks { * @return Result The task result. */ function test(): Result { - return $this->taskPhpUnit()->run(); + return $this->_exec('phpunit --configuration=test/phpunit.xml'); } /** diff --git a/phpunit.xml b/test/phpunit.xml similarity index 52% rename from phpunit.xml rename to test/phpunit.xml index 37c5de1..6a12242 100644 --- a/phpunit.xml +++ b/test/phpunit.xml @@ -1,18 +1,18 @@ - + - src + ../src - + - test + ../test