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.

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