mirror of
https://github.com/sitelease/sugar-cube-client.git
synced 2025-11-01 12:32:29 +01:00
Moved the PHPUnit settings
This commit is contained in:
@ -63,7 +63,7 @@ class RoboFile extends Tasks {
|
|||||||
* @return Result The task result.
|
* @return Result The task result.
|
||||||
*/
|
*/
|
||||||
function test(): Result {
|
function test(): Result {
|
||||||
return $this->taskPhpUnit()->run();
|
return $this->_exec('phpunit --configuration=test/phpunit.xml');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -1,18 +1,18 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<phpunit bootstrap="vendor/autoload.php" cacheResult="false">
|
<phpunit bootstrap="../vendor/autoload.php" cacheResult="false">
|
||||||
<filter>
|
<filter>
|
||||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||||
<directory suffix=".php">src</directory>
|
<directory suffix=".php">../src</directory>
|
||||||
</whitelist>
|
</whitelist>
|
||||||
</filter>
|
</filter>
|
||||||
|
|
||||||
<logging>
|
<logging>
|
||||||
<log type="coverage-clover" target="var/coverage.xml"/>
|
<log type="coverage-clover" target="../var/coverage.xml"/>
|
||||||
</logging>
|
</logging>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="all">
|
<testsuite name="all">
|
||||||
<directory>test</directory>
|
<directory>../test</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
</phpunit>
|
</phpunit>
|
||||||
Reference in New Issue
Block a user