Extension:MWUnit/API

MWUnit adds two API modules, one API query module and one regular API module. These modules can be used to query or run unit tests via the MediaWiki Action API.

action = rununittests
Run unit tests. Any combination of parameters is possible, and all tests specified by the parameters will be run. This API modules requires the  user right.

parameters

 * : The name of a group of tests.
 * : The canonical name of a test.
 * : The name of a test page (with the namespace prefix).
 * :The name of a template covered by one or more tests.

list = unittests
List all unit tests that match certain criteria. This module requires the  user right.

parameters

 * : The name of a group of tests.
 * : The name of a test page (with the namespace prefix).
 * :The name of a template covered by one or more tests.