JavaScript: QUnit

QUnit is a JavaScript unit testing framework.


Installation Installation

1. Set up your install. Follow one of the guides to setup your local install

2. Install WordPress via SVN Install WordPress via SVN or Git

Top ↑

Running the QUnit Test Suite Running the QUnit Test Suite

From your now installed and configured WordPress testing installation navigate to /tests/qunit/index.html.

If your locally setup domain is then is the URL you want.

You can also run the tests directly in the browser without setting up a web server, append /tests/qunit/index.html to the the file path of your repo check out, for example file:///Users/myusername/dev/