Changeset 44705
- Timestamp:
- 01/28/2019 05:20:06 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpunit.xml.dist
r44702 r44705 1 1 <phpunit 2 bootstrap="tests/phpunit/includes/bootstrap.php"3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 2 bootstrap="tests/phpunit/includes/bootstrap.php" 3 backupGlobals="false" 4 colors="true" 5 beStrictAboutTestsThatDoNotTestAnything="true" 6 > 7 <testsuites> 8 <!-- Default test suite to run all tests --> 9 <testsuite name="default"> 10 <directory suffix=".php">tests/phpunit/tests</directory> 11 <file phpVersion="5.3.0">tests/phpunit/tests/actions/closures.php</file> 12 <file phpVersion="5.3.0">tests/phpunit/tests/image/editor.php</file> 13 <file phpVersion="5.3.0">tests/phpunit/tests/image/editorGd.php</file> 14 <file phpVersion="5.3.0">tests/phpunit/tests/image/editorImagick.php</file> 15 <file phpVersion="5.3.0">tests/phpunit/tests/oembed/headers.php</file> 16 <exclude>tests/phpunit/tests/actions/closures.php</exclude> 17 <exclude>tests/phpunit/tests/image/editor.php</exclude> 18 <exclude>tests/phpunit/tests/image/editorGd.php</exclude> 19 <exclude>tests/phpunit/tests/image/editorImagick.php</exclude> 20 <exclude>tests/phpunit/tests/oembed/headers.php</exclude> 21 <exclude>tests/phpunit/tests/rest-api/rest-autosaves-controller.php</exclude> 22 </testsuite> 23 <!-- Sets the DOING_AUTOSAVE constant, so needs to be run last --> 24 <testsuite name="restapi-autosave"> 25 <file>tests/phpunit/tests/rest-api/rest-autosaves-controller.php</file> 26 </testsuite> 27 </testsuites> 28 <groups> 29 <exclude> 30 <group>ajax</group> 31 <group>ms-files</group> 32 <group>ms-required</group> 33 <group>external-http</group> 34 </exclude> 35 </groups> 36 <logging> 37 <log type="junit" target="tests/phpunit/build/logs/junit.xml" /> 38 </logging> 39 <php> 40 <const name="WP_RUN_CORE_TESTS" value="1" /> 41 </php> 42 42 <listeners> 43 43 <listener class="SpeedTrapListener" file="tests/phpunit/includes/listener-loader.php"> -
trunk/tests/phpunit/build.xml
r25165 r44705 1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <project name="WordPress Unit Tests" default="build" basedir="."> 3 4 5 6 7 8 9 10 11 12 13 14 3 <target name="clean"> 4 <delete dir="build" /> 5 </target> 6 <target name="prepare"> 7 <mkdir dir="build/logs" /> 8 <mkdir dir="build/phpunitreport" /> 9 </target> 10 <target name="phpunit"> 11 <exec command="phpunit" passthru="true"></exec> 12 <phpunitreport infile="build/logs/junit.xml" format="frames" todir="build/phpunitreport" usesorttable="true" /> 13 </target> 14 <target name="build" depends="clean,prepare,phpunit" /> 15 15 </project> -
trunk/tests/phpunit/multisite.xml
r44704 r44705 1 1 <phpunit 2 2 bootstrap="includes/bootstrap.php" 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 3 backupGlobals="false" 4 colors="true" 5 beStrictAboutTestsThatDoNotTestAnything="true" 6 > 7 <php> 8 <const name="WP_TESTS_MULTISITE" value="1" /> 9 </php> 10 <testsuites> 11 <!-- Default test suite to run all tests --> 12 <testsuite name="default"> 13 <directory suffix=".php">tests</directory> 14 <file phpVersion="5.3.0">tests/phpunit/tests/actions/closures.php</file> 15 <file phpVersion="5.3.0">tests/phpunit/tests/image/editor.php</file> 16 <file phpVersion="5.3.0">tests/phpunit/tests/image/editorGd.php</file> 17 <file phpVersion="5.3.0">tests/phpunit/tests/image/editorImagick.php</file> 18 <exclude>tests/phpunit/tests/actions/closures.php</exclude> 19 <exclude>tests/phpunit/tests/image/editor.php</exclude> 20 <exclude>tests/phpunit/tests/image/editorGd.php</exclude> 21 <exclude>tests/phpunit/tests/image/editorImagick.php</exclude> 22 <!-- Path relative to the checkout root, for PHPUnit 3.6.x --> 23 <exclude>tests/phpunit/tests/rest-api/rest-autosaves-controller.php</exclude> 24 <!-- Same path relative to the configuration file, for PHPUnit 4.0.0+ --> 25 <exclude>tests/rest-api/rest-autosaves-controller.php</exclude> 26 </testsuite> 27 <!-- Sets the DOING_AUTOSAVE constant, so needs to be run last --> 28 <testsuite name="restapi-autosave"> 29 <!-- Path relative to the checkout root, for PHPUnit 3.6.x --> 30 <file>tests/phpunit/tests/rest-api/rest-autosaves-controller.php</file> 31 <!-- Same path relative to the configuration file, for PHPUnit 4.0.0+ --> 32 <file>tests/rest-api/rest-autosaves-controller.php</file> 33 </testsuite> 34 </testsuites> 35 <groups> 36 <exclude> 37 <group>ajax</group> 38 <group>ms-files</group> 39 <group>ms-excluded</group> 40 <group>external-http</group> 41 <group>oembed-headers</group> 42 </exclude> 43 </groups> 44 <php> 45 <const name="WP_RUN_CORE_TESTS" value="1" /> 46 </php> 47 <listeners> 48 <listener class="SpeedTrapListener" file="tests/phpunit/includes/listener-loader.php"> 49 <arguments> 50 <array> 51 <element key="slowThreshold"> 52 <integer>150</integer> 53 </element> 54 </array> 55 </arguments> 56 </listener> 57 </listeners> 58 58 </phpunit>
Note: See TracChangeset
for help on using the changeset viewer.