Make WordPress Core

Ticket #44127: MediaEditBackupSizes.xml

File MediaEditBackupSizes.xml, 1.2 KB (added by pbiron, 6 years ago)

This is a phpunit config file to run those tests in MediaEditBackupSizes.php that depend on IMAGE_EDIT_OVERWRITE being false (or are agnostic to its value). Add this file to /tests/phpunit and then run phpunit -c tests/phpunit/MeditEditBackupSizes.xml

Line 
1<phpunit
2                bootstrap="includes/bootstrap.php"
3        backupGlobals="false"
4        colors="true"
5        beStrictAboutTestsThatDoNotTestAnything="true"
6        >
7    <testsuites>
8        <!-- Default test suite to run all tests, modified from multiste.xml -->
9        <testsuite>
10            <directory suffix=".php">tests</directory>
11            <exclude>tests/phpunit/tests/actions/closures.php</exclude>
12            <exclude>tests/phpunit/tests/image/editor.php</exclude>
13            <exclude>tests/phpunit/tests/image/editorGd.php</exclude>
14            <exclude>tests/phpunit/tests/image/editorImagick.php</exclude>
15            <file phpVersion="5.3.0">tests/phpunit/tests/actions/closures.php</file>
16            <file phpVersion="5.3.0">tests/phpunit/tests/image/editor.php</file>
17            <file phpVersion="5.3.0">tests/phpunit/tests/image/editorGd.php</file>
18            <file phpVersion="5.3.0">tests/phpunit/tests/image/editorImagick.php</file>
19        </testsuite>
20    </testsuites>
21    <php>
22        <const name="WP_RUN_CORE_TESTS" value="1" />
23    </php>
24    <groups>
25        <include>
26                <group>44127</group>
27        </include>
28    </groups>
29</phpunit>