Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
tool_generator\local\testscenario\runner Class Reference

Public Member Functions

 execute (parsedfeature $parsedfeature)
 Execute a parsed feature.
 
 include_behat_libraries ()
 Include all necessary behat libraries.
 
 include_composer_libraries ()
 Include composer autload.
 
 init ()
 Initi all composer, behat libraries and load the valid steps.
 
 parse_feature (string $content)
 Parse a feature file.
 

Member Function Documentation

◆ execute()

tool_generator\local\testscenario\runner::execute ( parsedfeature $parsedfeature)

Execute a parsed feature.

Parameters
parsedfeature$parsedfeaturethe parsed feature to execute.
Return values
booltrue if all steps were executed successfully.

◆ parse_feature()

tool_generator\local\testscenario\runner::parse_feature ( string $content)

Parse a feature file.

Parameters
string$contentthe feature file content.
Return values
parsedfeature

The documentation for this class was generated from the following file: