02319efa71
* Automatically delete objects that we were created during `wpSetUpBeforeClass` - posts, comments, terms (except 1), and user (except 1) * The amount of leftover data between tests was breathtaking - use the new function: `_delete_all_data()` * Commit database transactions for all `TestCase`s, not just those that implement `wpSetUpBeforeClass` and `wpTearDownAfterClass` * The tests run 10-20 seconds faster now See #37699. git-svn-id: https://develop.svn.wordpress.org/trunk@38398 602fd350-edb4-49c9-b593-d223f7449a82 |
||
---|---|---|
.. | ||
factory | ||
bootstrap.php | ||
class-basic-object.php | ||
class-basic-subclass.php | ||
exceptions.php | ||
factory.php | ||
functions.php | ||
install.php | ||
mock-fs.php | ||
mock-image-editor.php | ||
mock-mailer.php | ||
speed-trap-listener.php | ||
spy-rest-server.php | ||
testcase-ajax.php | ||
testcase-canonical.php | ||
testcase-rest-api.php | ||
testcase-xmlrpc.php | ||
testcase.php | ||
trac.php | ||
utils.php | ||
wp-profiler.php |