Note:

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

Acceptance testing: Difference between revisions

From MoodleDocs
m t_po, missing y
ja link
Line 8: Line 8:


[[Category:Behat]]
[[Category:Behat]]
[[ja:受け入れテスト]]

Revision as of 15:02, 22 February 2022

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.