mirror of
https://github.com/sitelease/sugar-cube-client.git
synced 2025-10-29 19:12:30 +01:00
Moved the PHPUnit settings
This commit is contained in:
@ -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');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -1,18 +1,18 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit bootstrap="vendor/autoload.php" cacheResult="false">
|
||||
<phpunit bootstrap="../vendor/autoload.php" cacheResult="false">
|
||||
<filter>
|
||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||
<directory suffix=".php">src</directory>
|
||||
<directory suffix=".php">../src</directory>
|
||||
</whitelist>
|
||||
</filter>
|
||||
|
||||
<logging>
|
||||
<log type="coverage-clover" target="var/coverage.xml"/>
|
||||
<log type="coverage-clover" target="../var/coverage.xml"/>
|
||||
</logging>
|
||||
|
||||
<testsuites>
|
||||
<testsuite name="all">
|
||||
<directory>test</directory>
|
||||
<directory>../test</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
</phpunit>
|
||||
Reference in New Issue
Block a user