Differences Between: [Versions 310 and 403] [Versions 311 and 403] [Versions 39 and 403] [Versions 400 and 403]
Step definition to generate database fixtures for learning plan system.
Copyright: | 2016 Issam Taboubi <issam.taboubi@umontreal.ca> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 362 lines (13 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 2 files lib/behat/behat_base.php lib/phpunit/classes/util.php |
behat_tool_lp_data_generators:: (8 methods):
the_following_lp_exist()
preprocess_competency()
preprocess_plan()
preprocess_user_evidence()
preprocess_plan_competency()
preprocess_user_evidence_competency()
preprocess_user_competency()
preprocess_user_competency_plan()
Class: behat_tool_lp_data_generators - X-Ref
Step definition to generate database fixtures for learning plan system.the_following_lp_exist($elementname, TableNode $data) X-Ref |
Creates the specified element. More info about available elements in https://moodledev.io/general/development/tools/behat. param: string $elementname The name of the entity to add param: TableNode $data |
preprocess_competency($data) X-Ref |
Adapt creating competency from framework idnumber or frameworkid. param: array $data return: array |
preprocess_plan($data) X-Ref |
Adapt creating plan from user username. param: array $data return: array |
preprocess_user_evidence($data) X-Ref |
Adapt creating user_evidence from user username. param: array $data return: array |
preprocess_plan_competency($data) X-Ref |
Adapt creating plan_competency from plan name and competency shortname. param: array $data return: array |
preprocess_user_evidence_competency($data) X-Ref |
Adapt creating plan_competency from user evidence name and competency shortname. param: array $data return: array |
preprocess_user_competency($data) X-Ref |
Adapt creating user_competency from user name and competency shortname. param: array $data return: array |
preprocess_user_competency_plan($data) X-Ref |
Adapt creating user_competency_plan from user name, competency shortname and plan name. param: array $data return: array |