Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Improved WordPress tests (moved to core)
branch: master

This branch is even with nb:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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
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/

Something went wrong with that request. Please try again.