Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.
/mod/quiz/tests/
FolderUp one level  
Folderbackup/
 
Folderbehat/
 
Folderevent/
 
Folderexternal/
 
Folderfixtures/
 
Foldergenerator/
 
Folderprivacy/
 
Folderquestion/
 
Fileattempt_test.php                                      [source] [561 lines]   
Fileattempt_walkthrough_from_csv_test.php                 [source] [365 lines]   
Fileattempt_walkthrough_test.php                          [source] [583 lines]   
Fileattempts_test.php                                     [source] [606 lines]   
Filecalendar_event_modified_test.php                      [source] [519 lines]   
Filecustom_completion_test.php                            [source] [505 lines]   
Filedates_test.php                                        [source] [175 lines]   Contains unit tests for mod_quiz\dates.
Filegenerator_test.php                                    [source] [119 lines]   
Filelib_test.php                                          [source] [1275 lines]  Unit tests for (some of) mod/quiz/locallib.php.
Filelocal_structure_slot_random_test.php                  [source] [426 lines]   
Filelocallib_test.php                                     [source] [686 lines]   Unit tests for (some of) mod/quiz/locallib.php.
Fileprivacy_legacy_quizaccess_polyfill_test.php           [source] [186 lines]   Unit tests for the privacy legacy polyfill for quiz access rules.
Fileqbank_helper_test.php                                 [source] [206 lines]   
Filequiz_notify_attempt_manual_grading_completed_test.php [source] [274 lines]   Contains the class containing unit tests for the quiz notify attempt manual grading completed cron task.
Filequiz_question_bank_view_test.php                      [source] [80 lines]    
Filequiz_question_helper_test_trait.php                   [source] [183 lines]   Helper trait for quiz question unit tests. This trait helps to execute different tests for quiz, for example if it needs to create a quiz, add question to the question, add random quetion to the quiz, do a backup or restore.
Filequiz_question_restore_test.php                        [source] [511 lines]   
Filequiz_question_version_test.php                        [source] [187 lines]   
Filequizobj_test.php                                      [source] [62 lines]    
Filerepaginate_test.php                                   [source] [293 lines]   Unit tests for the {@link \mod_quiz\repaginate} class.
Filereportlib_test.php                                    [source] [194 lines]   
Filerestore_attempt_test.php                              [source] [110 lines]   
Filerestore_override_test.php                             [source] [100 lines]   
Filestructure_test.php                                    [source] [988 lines]   
Filetags_test.php                                         [source] [114 lines]