Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.
/question/type/multichoice/tests/
FolderUp one level  
Folderbehat/
 
Folderfixtures/
 
Filehelper.php               [source] [404 lines]   Test helper code for the multiple choice question type.
Filequestion_multi_test.php  [source] [193 lines]   Unit tests for the multiple choice, multi-response question definition classes.
Filequestion_single_test.php [source] [212 lines]   Unit tests for the multiple choice, single response question definition classes.
Filequestiontype_test.php    [source] [239 lines]   Unit tests for the mulitple choice question definition class.
Fileupgradelibnewqe_test.php [source] [2771 lines]  Tests of the upgrade to the new Moodle question engine for attempts at multichoice questions.
Filewalkthrough_test.php     [source] [226 lines]   This file contains tests that walk mutichoice questions through various behaviours. Note, there are already lots of tests of the multichoice type in the behaviour tests. (Search for test_question_maker::make_a_multichoice.) This file only contains a few additional tests for problems that were found during testing.