mirror of
https://gh.wpcy.net/https://github.com/buddypress/buddypress.git
synced 2026-06-01 06:04:04 +08:00
The new, improved BuddyPress testing suite boasts the following features: - It uses a vanilla copy of the WordPress test suite as a basis, for maximum portability and future-compatibility - Allows for BP-dependent plugins to write their own tests that use the BP test libraries (like our data factories) - Conforms to current best practices for building WordPress plugin tests The existing testcases themselves will be ported over in the next changeset, so as to keep this one reasonably small. See the Codex page (forthcoming) on how to set up and run the tests, how to add to them, and how to write BP-dependent tests in your own plugin. See #4889 Props djpaul, boonebgorges git-svn-id: https://buddypress.svn.wordpress.org/trunk@6905 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
14 lines
304 B
XML
14 lines
304 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>
|
|
</phpunit>
|