Improved WordPress tests (moved to core)
Latest commit d983429 Aug 19, 2012 @scribu scribu update build.xml
Failed to load latest commit information.
bin Use a sha1 hash of the db_version and config params for version check. Jun 30, 2012
lib remove test_add_filter(). closes #26 Jul 3, 2012
.gitignore Added a Phing build file that is configured to run tests and generate… Jun 25, 2012 Update master Jul 13, 2012
all.php Use is_subclass_of() to find tests. Jun 30, 2012
bootstrap.php rename init.php to bootstrap.php, to match unit-tests.trac Jul 22, 2012
test_test.php use phpunit.xml instead to load init.php Sep 23, 2011
test_texturize.php use phpunit.xml instead to load init.php Sep 22, 2011


The advantages of this framework:

  • faster
  • runs every test case in a clean WordPress install
  • uses the default PHPUnit runner, instead of custom one
  • doesn't encourage or support the usage of shared/prebuilt fixtures

It uses SQL transactions to clean up automatically after each test.

Current Status

This framework has been ported to the official testing suite.

To get involved with WordPress testing, see