Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Acceptance testing

From MoodleDocs
Revision as of 01:56, 28 May 2019 by John Vogelsang (talk | contribs) (t_po, missing y)

Moodle uses a framework called Behat to automatically test the user-interface. Tests can be written for each plugin, and for Moodle core.

Because Behat tests work through the Moodle user interface, they are a bit slow. Therefore, you should probably also use PHPUnit to test the detailed edge cases in your code.