Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Step definitions related to mod_quiz overrides for the Classic theme.

Copyright: 2019 Michael Hawkins
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 65 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 mod/quiz/tests/behat/behat_mod_quiz.php

Defines 1 class

behat_theme_classic_behat_mod_quiz:: (1 method):
  i_add_question_to_the_quiz_with()


Class: behat_theme_classic_behat_mod_quiz  - X-Ref

Step definitions related to mod_quiz overrides for the Classic theme.

i_add_question_to_the_quiz_with($questiontype, $quizname, TableNode $questiondata)   X-Ref
Adds a question to the existing quiz with filling the form.
The form for creating a question should be on one page.

param: string $questiontype
param: string $quizname
param: TableNode $questiondata with data for filling the add question form