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.
/mod/quiz/tests/
FolderUp one level  
Folderbehat/
 
Folderfixtures/
 
Foldergenerator/
 
Fileattempt_test.php                            [source] [371 lines]   Tests for the quiz_attempt class.
Fileattempt_walkthrough_from_csv_test.php       [source] [368 lines]   Quiz attempt walk through using data from csv file.
Fileattempt_walkthrough_test.php                [source] [318 lines]   Quiz attempt walk through tests.
Fileattempts_test.php                           [source] [611 lines]   Quiz attempt overdue handling tests
Filecalendar_event_modified_test.php            [source] [522 lines]   Unit tests for the calendar event modification callbacks used for dragging and dropping quiz calendar events in the calendar UI.
Fileevents_test.php                             [source] [788 lines]   Quiz events tests.
Fileexternal_test.php                           [source] [1951 lines]  Quiz module external functions tests.
Filegenerator_test.php                          [source] [67 lines]    PHPUnit data generator tests
Filelib_test.php                                [source] [1168 lines]  Unit tests for (some of) mod/quiz/locallib.php.
Filelocal_structure_slot_random_test.php        [source] [412 lines]   Unit tests for the {@link \mod_quiz\local\structure\slot_random} class.
Filelocallib_test.php                           [source] [842 lines]   Unit tests for (some of) mod/quiz/locallib.php.
Fileprivacy_legacy_quizaccess_polyfill_test.php [source] [191 lines]   Unit tests for the privacy legacy polyfill for quiz access rules.
Fileprivacy_provider_test.php                   [source] [554 lines]   Privacy provider tests.
Filequiz_question_bank_view_test.php            [source] [75 lines]    Unit tests for the quiz's own question bank view class.
Filequizdisplayoptions_test.php                 [source] [88 lines]    Unit tests for the mod_quiz_display_options class.
Filequizobj_test.php                            [source] [66 lines]    Unit tests for the quiz class.
Filerepaginate_test.php                         [source] [296 lines]   Unit tests for the {@link \mod_quiz\repaginate} class.
Filereportlib_test.php                          [source] [168 lines]   Unit tests for (some of) mod/quiz/report/reportlib.php
Filerestore_attempt_test.php                    [source] [115 lines]   
Filerestore_date_test.php                       [source] [116 lines]   Restore date tests.
Filerestore_override_test.php                   [source] [107 lines]   Restore override tests.
Filestructure_test.php                          [source] [1067 lines]  Quiz events tests.
Filetags_test.php                               [source] [100 lines]   Unit tests for usage of tags in quizzes.