Implemented a chdir() so that all testing suites, including PHPStorm, can run PHPUnit from the same working directory.
This commit is contained in:
parent
0844b71119
commit
cb8e5a1113
|
@ -38,6 +38,9 @@ use FuzeWorks\Config;
|
|||
use FuzeWorks\Core;
|
||||
use FuzeWorks\Logger;
|
||||
|
||||
// First set the working directory
|
||||
chdir(dirname(__DIR__));
|
||||
|
||||
// Load the FuzeWorks container
|
||||
$container = require('bootstrap.php');
|
||||
|
||||
|
|
|
@ -20,11 +20,6 @@
|
|||
<log type="junit" target="../build/phpunit/logfile.xml" logIncompleteSkipped="false"/>
|
||||
<log type="testdox-html" target="../build/phpunit/testdox.html"/>
|
||||
<log type="testdox-text" target="../build/phpunit/testdox.txt"/>
|
||||
<log type="coverage-html" target="../build/phpunit/coverage_html" lowUpperBound="35"
|
||||
highLowerBound="70"/>
|
||||
<log type="coverage-clover" target="../build/phpunit/coverage.xml"/>
|
||||
<log type="coverage-php" target="../build/phpunit/coverage.serialized"/>
|
||||
<log type="coverage-text" target="php://stdout" showUncoveredFiles="false"/>
|
||||
</logging>
|
||||
|
||||
<filter>
|
||||
|
|
Loading…
Reference in New Issue