WordPress.org

Make WordPress Core

Changeset 924 in tests for trunk/phpunit.xml


Ignore:
Timestamp:
07/19/2012 06:18:12 PM (9 years ago)
Author:
nacin
Message:

By default, do not execute the ajax tests. They are slow due to the requirement that they run in a separate process for DOING_AJAX reasons.

As they will be run separately, stop running ajax tests in a separate process. The exception is autosave, which has DOING_AUTOSAVE.

When the full test suite is run as plain phpunit, add a message to remind the developer that ajax was not run.

see #49, see #42.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpunit.xml

    r905 r924  
    1010            <directory suffix=".php">tests</directory>
    1111            <file phpVersion="5.3.0">tests/actions/closures.php</file>
     12            <groups>
     13                <exclude>
     14                    <group>ajax</group>
     15                </exclude>
     16            </groups>
    1217        </testsuite>
    1318    </testsuites>
Note: See TracChangeset for help on using the changeset viewer.