Note: You are currently viewing documentation for Moodle 3.4. Up-to-date documentation for the latest stable version of Moodle is likely available here: Unit tests.

Unit tests

From MoodleDocs
Revision as of 12:26, 27 December 2007 by chris collman (talk | contribs) (Brief intro for non developers, see page comments)

Template:Moodle 1.7 Unit tests is a tool for developers that evaluates Moodle code and is found in the Administration block under Reports.

The purpose of Unit Tests is to evaluate the individual parts of a program (functions, and methods of classes) to make sure that each element individually does the right thing.

The unit testing framework is based on the SimpleTest framework. It was incorporated into Moodle 1.7 by Nick Freear and Tim Hunt from The Open University in Moodle 1.7.


See also