Unit tests: Difference between revisions
From MoodleDocs
Helen Foster (talk | contribs) (categories, template, see also) |
(Brief intro for non developers, see page comments) |
||
Line 1: | Line 1: | ||
{{Moodle 1.7}} | {{Moodle 1.7}} | ||
Unit tests is a tool for [[Developer|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== | |||
*[[Development:Unit tests]] | |||
[[Category:Administrator]] | [[Category:Administrator]] | ||
[[Category:Report]] | [[Category:Report]] |
Revision as of 12:26, 27 December 2007
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.