wordpress-develop/tests/phpunit/tests/canonical
Scott Taylor 02319efa71 Unit Tests:
* 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
2016-08-27 08:35:16 +00:00
..
category.php Unit Tests: 2016-08-27 08:35:16 +00:00
customRules.php Remove failing unit tests from 'canonical' group. 2014-11-08 20:36:27 +00:00
https.php Share fixtures across 'canonical' automated tests. 2014-11-08 19:28:12 +00:00
noRewrite.php Unit Tests: 2016-08-27 08:35:16 +00:00
paged.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
pageOnFront.php Unit Tests: 2016-08-27 08:35:16 +00:00