Extension:MWUnit/Running tests

This page details how to run tests.

Running tests on the wiki
There are several ways to run the tests that you have written. The most obvious way is via the test page itself. In the sidebar there should be a button under "Unit testing" labelled "Run unit tests". This button will run all tests on the current test page, regardless of which group they are in.

Another way to run tests is through the special page. The special page can run all tests in the given group or a single test case.

The  user right is required for running tests.

The command-line test runner
The command-line test runner is used to execute tests through the command-line via a maintenance script.