[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/completion/tests/behat/ -> behat_completion.php (summary)

Completion steps definitions.

Copyright: 2013 David Monllaó
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 108 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 lib/behat/behat_base.php

Defines 1 class

behat_completion:: (3 methods):
  user_has_completed_activity()
  user_has_not_completed_activity()
  go_to_the_current_course_activity_completion_report()


Class: behat_completion  - X-Ref

Steps definitions to deal with course and activities completion.

user_has_completed_activity($userfullname, $activityname)   X-Ref
Checks that the specified user has completed the specified activity of the current course.

param: string $userfullname
param: string $activityname

user_has_not_completed_activity($userfullname, $activityname)   X-Ref
Checks that the specified user has not completed the specified activity of the current course.

param: string $userfullname
param: string $activityname

go_to_the_current_course_activity_completion_report()   X-Ref
Goes to the current course activity completion report.




Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1