Moodle uses the Behat framework for automated testing. The test scrips are stored in the main code-base. Look for folders called .../tests/behat. https://docs.moodle.org/dev/Acceptance_testing
Testing and QA
Automation test script for Moodle
This discussion has been locked so you can no longer reply to it.