WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/29/2013 06:39:34 PM (8 years ago)
Author:
nacin
Message:

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.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/phpunit.xml.dist

    r25158 r25165  
    11<phpunit
    2     bootstrap="includes/bootstrap.php"
     2    bootstrap="tests/phpunit/includes/bootstrap.php"
    33        backupGlobals="false"
    44        colors="true"
     
    77        <!-- Default test suite to run all tests -->
    88        <testsuite>
    9             <directory suffix=".php">tests</directory>
    10             <exclude>tests/actions/closures.php</exclude>
    11             <exclude>tests/image/editor.php</exclude>
    12             <exclude>tests/image/editor_gd.php</exclude>
    13             <exclude>tests/image/editor_imagick.php</exclude>
    14             <file phpVersion="5.3.0">tests/actions/closures.php</file>
    15             <file phpVersion="5.3.0">tests/image/editor.php</file>
    16             <file phpVersion="5.3.0">tests/image/editor_gd.php</file>
    17             <file phpVersion="5.3.0">tests/image/editor_imagick.php</file>
     9            <directory suffix=".php">tests/phpunit/tests</directory>
     10            <exclude>tests/phpunit/tests/actions/closures.php</exclude>
     11            <exclude>tests/phpunit/tests/image/editor.php</exclude>
     12            <exclude>tests/phpunit/tests/image/editor_gd.php</exclude>
     13            <exclude>tests/phpunit/tests/image/editor_imagick.php</exclude>
     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/editor_gd.php</file>
     17            <file phpVersion="5.3.0">tests/phpunit/tests/image/editor_imagick.php</file>
    1818        </testsuite>
    1919    </testsuites>
     
    2424    </groups>
    2525    <logging>
    26         <log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
     26        <log type="junit" target="tests/phpunit/build/logs/junit.xml" logIncompleteSkipped="false"/>
    2727    </logging>
    2828</phpunit>
Note: See TracChangeset for help on using the changeset viewer.