mirror of
https://gh.wpcy.net/https://github.com/aspirepress/aspireupdate.git
synced 2026-07-18 09:59:31 +08:00
43 lines
1.3 KiB
XML
43 lines
1.3 KiB
XML
<phpunit
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/9.2/phpunit.xsd"
|
|
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>
|
|
</testsuite>
|
|
</testsuites>
|
|
<groups>
|
|
<exclude>
|
|
<group>ms-excluded</group>
|
|
</exclude>
|
|
</groups>
|
|
<coverage includeUncoveredFiles="true" processUncoveredFiles="false" pathCoverage="false" cacheDirectory="./cache">
|
|
<include>
|
|
<directory suffix=".php">../../includes</directory>
|
|
</include>
|
|
<exclude>
|
|
<file>../../includes/autoload.php</file>
|
|
<file>../../aspire-update.php</file>
|
|
<directory>../../includes/views</directory>
|
|
</exclude>
|
|
<report>
|
|
<text outputFile="php://stdout" showOnlySummary="true"/>
|
|
<html outputDirectory="./coverage/html/multisite"/>
|
|
<php outputFile="./coverage/php/multisite.php"/>
|
|
</report>
|
|
</coverage>
|
|
</phpunit>
|