Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: