wordpress-develop/tests/phpunit/tests/functions
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
..
deprecated.php Wouldn't it be incredible if you could run Unit Tests without all of your uploads being indiscriminately blown away and your upload folder permissions being destroyed? 2014-07-12 07:08:15 +00:00
getArchives.php Unit Tests: 2016-08-27 08:35:16 +00:00
getWeekstartend.php Add tests for get_weekstartend(). 2016-05-26 15:47:52 +00:00
listFilter.php Revert [35949]. 2015-12-15 19:49:43 +00:00
maybeDeclineDate.php I18N: Add tests for wp_maybe_decline_date(). 2016-07-05 16:09:01 +00:00
numberFormatI18n.php Tests: Add unit tests for number_format_i18n(). 2016-03-01 21:19:20 +00:00
pluginBasename.php Plugins: In plugin_basename() sort plugin paths before resolving symlinks. 2016-07-06 09:44:58 +00:00
referer.php Correct some more tests which were using example.org instead of WP_TESTS_DOMAIN. 2016-02-26 00:25:10 +00:00
removeQueryArg.php Add tests for remove_query_arg(). 2016-06-03 04:30:23 +00:00
sizeFormat.php General: Return "O B" when passing 0 to size_format(). 2016-07-05 10:35:24 +00:00
WpValidateBoolean.php Ignore case when checking string 'false' in wp_validate_boolean(). 2014-11-03 15:54:42 +00:00