put runtime-generated data into data/
This commit is contained in:
parent
d4516fd6bf
commit
6df0f4f307
3 changed files with 10 additions and 3 deletions
|
@ -14,4 +14,5 @@ return $_phpcs_config->setRules([
|
||||||
'array_syntax' => ['syntax' => 'short'],
|
'array_syntax' => ['syntax' => 'short'],
|
||||||
])
|
])
|
||||||
->setFinder($_phpcs_finder)
|
->setFinder($_phpcs_finder)
|
||||||
|
->setCacheFile("data/php-cs-fixer.cache")
|
||||||
;
|
;
|
|
@ -52,7 +52,7 @@ if(class_exists("\\PHPUnit\\Framework\\TestCase")) {
|
||||||
$_tracer->end(); # test
|
$_tracer->end(); # test
|
||||||
$_tracer->end(); # $this->getName()
|
$_tracer->end(); # $this->getName()
|
||||||
$_tracer->clear();
|
$_tracer->clear();
|
||||||
$_tracer->flush("tests/trace.json");
|
$_tracer->flush("data/test-trace.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function tearDownAfterClass(): void
|
public static function tearDownAfterClass(): void
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="../tests/bootstrap.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd">
|
<phpunit
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
bootstrap="../tests/bootstrap.php"
|
||||||
|
colors="true"
|
||||||
|
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
|
||||||
|
cacheResultFile="../data/phpunit.cache"
|
||||||
|
>
|
||||||
<coverage/>
|
<coverage/>
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="core">
|
<testsuite name="core">
|
||||||
|
|
Reference in a new issue