Make WordPress Core

Changeset 423 in tests


Ignore:
Timestamp:
08/23/2011 10:51:41 AM (13 years ago)
Author:
nacin
Message:

:-(

File:
1 edited

Legend:

Unmodified
Added
Removed
  • README.txt

    r391 r423  
    1313Test cases live in the 'wp-testcase' subdirectory.  All files in that directory will be included by default.  Extend the WPTestCase class to ensure your test is run.
    1414
    15 wp-test.php will initialize and install a (more or less) complete running copy of Wordpress each time it is run.  This makes it possible to run functional interface and module tests against a fully working database and codebase, as opposed to pure unit tests with mock objects and stubs.  Pure unit tests may be used also, of course.
     15wp-test.php will initialize and install a (more or less) complete running copy of WordPress each time it is run.  This makes it possible to run functional interface and module tests against a fully working database and codebase, as opposed to pure unit tests with mock objects and stubs.  Pure unit tests may be used also, of course.
    1616
    1717The test database will be wiped clean with DROP TABLE statements once tests are finished, to ensure a clean start next time the tests are run.
Note: See TracChangeset for help on using the changeset viewer.