Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.
/mod/quiz/tests/
FolderUp one level  
Folderbackup/
 
Folderbehat/
 
Folderevent/
 
Folderexternal/
 
Folderfixtures/
 
Foldergenerator/
 
Folderprivacy/
 
Fileattempt_test.php                                      [source] [562 lines]   
Fileattempt_walkthrough_from_csv_test.php                 [source] [363 lines]   
Fileattempt_walkthrough_test.php                          [source] [466 lines]   
Fileattempts_test.php                                     [source] [608 lines]   
Filecalendar_event_modified_test.php                      [source] [519 lines]   
Filecustom_completion_test.php                            [source] [504 lines]   
Filedates_test.php                                        [source] [175 lines]   Contains unit tests for mod_quiz\dates.
Filegenerator_test.php                                    [source] [119 lines]   
Filelib_test.php                                          [source] [1199 lines]  Unit tests for (some of) mod/quiz/locallib.php.
Filelocal_structure_slot_random_test.php                  [source] [426 lines]   
Filelocallib_test.php                                     [source] [685 lines]   Unit tests for (some of) mod/quiz/locallib.php.
Fileprivacy_legacy_quizaccess_polyfill_test.php           [source] [193 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] [275 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] [181 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] [506 lines]   
Filequiz_question_version_test.php                        [source] [184 lines]   
Filequizdisplayoptions_test.php                           [source] [83 lines]    
Filequizobj_test.php                                      [source] [62 lines]    
Filerepaginate_test.php                                   [source] [299 lines]   Unit tests for the {@link \mod_quiz\repaginate} class.
Filereportlib_test.php                                    [source] [197 lines]   
Filerestore_attempt_test.php                              [source] [110 lines]   
Filerestore_override_test.php                             [source] [100 lines]   
Filestructure_test.php                                    [source] [996 lines]   
Filetags_test.php                                         [source] [114 lines]