Note:

This site is no longer used and is in read-only mode. Instead please go to our new Moodle Developer Resource site.

Writing PHPUnit tests: Difference between revisions

From MoodleDocs
Created page with "{{Moodle 2.3}} Moodle PHPUnit integration is designed to allow easy adding of new tests. At the start of each test the state is automatically reset to fresh new installation (un..."
 
No edit summary
Line 2: Line 2:


Moodle PHPUnit integration is designed to allow easy adding of new tests. At the start of each test the state is automatically reset to fresh new installation (unless explicitly told not to reset). Tests that need to modify default installation may use generators to create new courses, users, etc.
Moodle PHPUnit integration is designed to allow easy adding of new tests. At the start of each test the state is automatically reset to fresh new installation (unless explicitly told not to reset). Tests that need to modify default installation may use generators to create new courses, users, etc.
[[Category:Unit testing]]

Revision as of 17:25, 6 May 2012

Moodle 2.3


Moodle PHPUnit integration is designed to allow easy adding of new tests. At the start of each test the state is automatically reset to fresh new installation (unless explicitly told not to reset). Tests that need to modify default installation may use generators to create new courses, users, etc.