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

Question tests

From MoodleDocs

Note: This list is a work in progress. See QA testing if you'd like to help writing new QA tests and if you have any questions or comments on any aspect of our QA testing process, please post in the Testing and QA forum.

This page lists Moodle features with links to corresponding QA tests.

If you'd like to help with Moodle testing, see QA testing.

Question bank features

Features that apply to all question types

Some of these features can only be tested when a question has been added to a quiz, not in the stand-alone question preview.

  1. The student can toggle the flag beside each question.
  2. The teacher can see the state of a student's flag, but cannot change it.
  3. Once a question has been finished, the teacher can manually override the grade, and add a comment.
  4. Underneath the view of the question in its current state, there is a table showing the history of states the question went through.

Features of specific question types






Multiple Choice


Short answer



Suppose you install a question of a particular type, create some questions, have students attempt a quiz using those questions, then un-install the question type. Clearly it is no longer possible to use that quiz or review those questions exactly as they used to appear. However, it should still be possible to look that the quiz reports for that old quiz, and review the quiz attempts and see any questions of types that are still installed on your server. The 'missing' question types exists to make that possible.

It also serves to keep things basically working if you restore a backup file made on another server that has more question types installed.

See also