mirror of
https://ghproxy.net/https://github.com/fairpm/fair-plugin.git
synced 2025-09-04 12:45:45 +08:00
38 lines
1.1 KiB
XML
38 lines
1.1 KiB
XML
<?xml version="1.0"?>
|
|
<phpunit
|
|
bootstrap="./bootstrap.php"
|
|
backupGlobals="false"
|
|
colors="true"
|
|
beStrictAboutTestsThatDoNotTestAnything="true"
|
|
beStrictAboutOutputDuringTests="true"
|
|
convertErrorsToExceptions="true"
|
|
convertWarningsToExceptions="true"
|
|
convertNoticesToExceptions="true"
|
|
convertDeprecationsToExceptions="true"
|
|
>
|
|
<php>
|
|
<const name="WP_TESTS_MULTISITE" value="1" />
|
|
</php>
|
|
<testsuites>
|
|
<!-- Default test suite to run all tests. -->
|
|
<testsuite name="default">
|
|
<directory suffix=".php">./tests</directory>
|
|
<exclude>./tests/SampleTest.php</exclude>
|
|
</testsuite>
|
|
</testsuites>
|
|
<groups>
|
|
<exclude>
|
|
<group>ms-excluded</group>
|
|
</exclude>
|
|
</groups>
|
|
<coverage includeUncoveredFiles="true" processUncoveredFiles="false" pathCoverage="false" cacheDirectory="./cache">
|
|
<include>
|
|
<directory suffix=".php">../../inc</directory>
|
|
</include>
|
|
<report>
|
|
<text outputFile="php://stdout" showOnlySummary="true"/>
|
|
<html outputDirectory="./coverage/html/multisite"/>
|
|
<php outputFile="./coverage/php/multisite.php"/>
|
|
</report>
|
|
</coverage>
|
|
</phpunit>
|