mirror of
https://gh.wpcy.net/https://github.com/buddypress/buddypress.git
synced 2026-05-31 04:56:13 +08:00
In r10997, we set up a code coverage task which used phpdbg to speed up code coverage report generation. Iteration and further testing has shown the Travis-CI environment will not support our particular project layout with phpdbg. This commit simplifies the code coverage to use xdebug. xdebug has also been globally disabled on Travis-CI (the code coverage task explicitly re-enables it) because we are not relying on it for any parts of our existing tests, and doing so should speed up running the unit tests. See #7207 git-svn-id: https://buddypress.svn.wordpress.org/trunk@11001 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
23 lines
522 B
XML
23 lines
522 B
XML
<phpunit
|
|
bootstrap="bootstrap.php"
|
|
backupGlobals="false"
|
|
colors="true"
|
|
convertErrorsToExceptions="true"
|
|
convertNoticesToExceptions="true"
|
|
convertWarningsToExceptions="true"
|
|
>
|
|
<testsuites>
|
|
<testsuite>
|
|
<directory suffix=".php">./testcases/</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
<filter>
|
|
<whitelist>
|
|
<directory suffix=".php">../../src/</directory>
|
|
<file>../../bp-loader.php</file>
|
|
</whitelist>
|
|
</filter>
|
|
<logging>
|
|
<log type="coverage-clover" target="../../clover.xml"/>
|
|
</logging>
|
|
</phpunit>
|