Improved WordPress tests (moved to core)
PHP
Latest commit d983429 Aug 19, 2012 @scribu scribu update build.xml
Permalink
Failed to load latest commit information.
bin
lib
mu-plugins
.gitignore
README.md
all.php
bootstrap.php
build.xml
phpunit.xml
test_go_to.php
test_test.php use phpunit.xml instead to load init.php Sep 22, 2011
test_texturize.php
unittests-config-sample.php

README.md

Rationale

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 http://unit-test.trac.wordpress.org/