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.

Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403] [Versions 39 and 310]

Steps definitions related to mod_workshop.

Copyright: 2014 Marina Glancy
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 183 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 lib/behat/behat_base.php

Defines 1 class


Class: behat_mod_workshop  - X-Ref

Steps definitions related to mod_workshop.

i_change_phase_in_workshop_to($workshopname, $phase)   X-Ref
Changes the submission phase for the workshop.

param: string $questiontype
param: string $workshopname

i_add_a_submission_in_workshop_as($workshopname, $table)   X-Ref
Adds or edits a student workshop submission.

param: string $workshopname
param: TableNode $table data to fill the submission form with, must contain 'Title'

i_edit_assessment_form_in_workshop_as($workshopname, $table)   X-Ref
Sets the workshop assessment form.

param: string $workshopname
param: TableNode $table data to fill the submission form with, must contain 'Title'

i_assess_submission_in_workshop_as($submission, $workshopname, TableNode $table)   X-Ref
Peer-assesses a workshop submission.

param: string $submission
param: string $workshopname
param: TableNode $table

i_should_see_grade_for_workshop_participant_set_by_peer($grade, $participant, $reviewer)   X-Ref
Checks that the user has particular grade set by his reviewing peer in workshop

param: string $grade
param: string $participant
param: string $reviewer

i_set_portfolio_instance_to($portfolioinstance, $value)   X-Ref
Configure portfolio plugin, set value for portfolio instance

param: string $portfolioinstance
param: string $value