Migrate phpunit configuration
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
This commit is contained in:
Родитель
f932316801
Коммит
260b435cd3
|
@ -1,26 +1,17 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<phpunit bootstrap="tests/php/bootstrap.php"
|
||||
verbose="true"
|
||||
colors="true"
|
||||
timeoutForSmallTests="900"
|
||||
timeoutForMediumTests="900"
|
||||
timeoutForLargeTests="900">
|
||||
<testsuite name='Tasks app integration tests'>
|
||||
<directory>./tests/php/integration</directory>
|
||||
</testsuite>
|
||||
<!-- filters for code coverage -->
|
||||
<filter>
|
||||
<whitelist>
|
||||
<directory suffix=".php">./</directory>
|
||||
<exclude>
|
||||
<directory suffix=".php">./l10n</directory>
|
||||
<directory suffix=".php">./templates</directory>
|
||||
<directory suffix=".php">./tests</directory>
|
||||
</exclude>
|
||||
</whitelist>
|
||||
</filter>
|
||||
<logging>
|
||||
<!-- and this is where your report will be written -->
|
||||
<log type="coverage-clover" target="./clover.integration.xml"/>
|
||||
</logging>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
bootstrap="tests/php/bootstrap.php"
|
||||
verbose="true"
|
||||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
|
||||
<coverage>
|
||||
<include>
|
||||
<directory suffix=".php">./lib</directory>
|
||||
</include>
|
||||
<report>
|
||||
<clover outputFile="./clover.integration.xml"/>
|
||||
</report>
|
||||
</coverage>
|
||||
<testsuite name="Tasks app integration tests">
|
||||
<directory>./tests/php/integration</directory>
|
||||
</testsuite>
|
||||
</phpunit>
|
||||
|
|
41
phpunit.xml
41
phpunit.xml
|
@ -1,26 +1,17 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<phpunit bootstrap="tests/php/bootstrap.php"
|
||||
verbose="true"
|
||||
colors="true"
|
||||
timeoutForSmallTests="900"
|
||||
timeoutForMediumTests="900"
|
||||
timeoutForLargeTests="900">
|
||||
<testsuite name='Tasks app tests'>
|
||||
<directory>./tests/php/unit</directory>
|
||||
</testsuite>
|
||||
<!-- filters for code coverage -->
|
||||
<filter>
|
||||
<whitelist>
|
||||
<directory suffix=".php">./</directory>
|
||||
<exclude>
|
||||
<directory suffix=".php">./l10n</directory>
|
||||
<directory suffix=".php">./templates</directory>
|
||||
<directory suffix=".php">./tests</directory>
|
||||
</exclude>
|
||||
</whitelist>
|
||||
</filter>
|
||||
<logging>
|
||||
<!-- and this is where your report will be written -->
|
||||
<log type="coverage-clover" target="./clover.unit.xml"/>
|
||||
</logging>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
bootstrap="tests/php/bootstrap.php"
|
||||
verbose="true"
|
||||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
|
||||
<coverage>
|
||||
<include>
|
||||
<directory suffix=".php">./lib</directory>
|
||||
</include>
|
||||
<report>
|
||||
<clover outputFile="./clover.unit.xml"/>
|
||||
</report>
|
||||
</coverage>
|
||||
<testsuite name="Tasks app tests">
|
||||
<directory>./tests/php/unit</directory>
|
||||
</testsuite>
|
||||
</phpunit>
|
||||
|
|
Загрузка…
Ссылка в новой задаче