Move PHPUnit tests into a tests/phpunit directory.

wp-tests-config.php can/should reside in the root of a develop checkout. `phpunit` should be run from the root.

see #25088.


git-svn-id: https://develop.svn.wordpress.org/trunk@25165 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2013-08-29 18:39:34 +00:00
parent d34baebc1d
commit 8045afd81b
318 changed files with 36 additions and 39 deletions

View File

@@ -0,0 +1,28 @@
<phpunit
bootstrap="includes/bootstrap.php"
backupGlobals="false"
colors="true"
>
<php>
<const name="WP_TESTS_MULTISITE" value="1" />
</php>
<testsuites>
<!-- Default test suite to run all tests -->
<testsuite>
<directory suffix=".php">tests</directory>
<exclude>tests/actions/closures.php</exclude>
<exclude>tests/image/editor.php</exclude>
<exclude>tests/image/editor_gd.php</exclude>
<exclude>tests/image/editor_imagick.php</exclude>
<file phpVersion="5.3.0">tests/actions/closures.php</file>
<file phpVersion="5.3.0">tests/image/editor.php</file>
<file phpVersion="5.3.0">tests/image/editor_gd.php</file>
<file phpVersion="5.3.0">tests/image/editor_imagick.php</file>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>ajax</group>
</exclude>
</groups>
</phpunit>