Extension:UnitTest

UnitTest provides unit testing with PHPUnit, Selenium and QUnit.

Overview
The goal of this extension is to bridge the gap between Continuous integration and local developer testing (i.e., testing on your workstation).

This extension also allows testing of PHPUnit, Selenium and QUnit in one application, as opposed to having these tested in different applications.

This extension also generates screenshots for a slideshow if Selenium is used in a test. A screenshot will be generated automatically after each assertion. After the test has been run, links are presented to the developer (on the command line) to view the slideshows.

This extension also generates Code Coverage reports in html and XML.

Additional reports are generated which could be picked up by monitoring tools such as Nagios.

Requirements

 * A web server like Apache httpd
 * PHP > 5.2
 * A database server like MySQL for the Mediawiki instance.
 * Git or Subversion to manage code
 * Git to pull in PHPUnit
 * Xdebug - required for Code Coverage
 * Linux | OS X | Unix

TODO

 * Build out a special page for the UnitTest extension
 * Allow viewing of unit test slideshows
 * Allow cleanup of old slideshows
 * See what extensions are using UnitTest