Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 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/
 
Folderexternal/
 
Folderfixtures/
 
Foldergenerator/
 
Fileattempt_test.php                            [source] [426 lines]   Tests for the quiz_attempt class.
Fileattempt_walkthrough_from_csv_test.php       [source] [370 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] [1897 lines]  Quiz module external functions tests.
Filegenerator_test.php                          [source] [129 lines]   PHPUnit data generator tests
Filelib_test.php                                [source] [1003 lines]  Unit tests for (some of) mod/quiz/locallib.php.
Filelocal_structure_slot_random_test.php        [source] [413 lines]   Unit tests for the {@link \mod_quiz\local\structure\slot_random} class.
Filelocallib_test.php                           [source] [844 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] [555 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_date_test.php                       [source] [116 lines]   Restore date tests.
Filerestore_override_test.php                   [source] [107 lines]   Restore override tests.
Filestructure_test.php                          [source] [1076 lines]  Quiz events tests.
Filetags_test.php                               [source] [101 lines]   Unit tests for usage of tags in quizzes.