◆ add_error()
tool_generator\local\testscenario\parsedfeature::add_error |
( |
string | $error | ) |
|
Add an error to the current scenario.
- Parameters
-
◆ add_scenario()
tool_generator\local\testscenario\parsedfeature::add_scenario |
( |
string | $type, |
|
|
?string | $name ) |
Insert a new scenario.
- Parameters
-
string | $type | the type of the scenario. |
string | null | $name | the name of the scenario. |
◆ add_step()
tool_generator\local\testscenario\parsedfeature::add_step |
( |
steprunner | $step | ) |
|
Add a line to the current scenario.
- Parameters
-
steprunner | $step | the step to add. |
◆ get_all_steps()
tool_generator\local\testscenario\parsedfeature::get_all_steps |
( |
| ) |
|
Get all the steps form all scenarios.
- Return values
-
◆ get_general_error()
tool_generator\local\testscenario\parsedfeature::get_general_error |
( |
| ) |
|
Get the general error, if any.
- Return values
-
◆ get_scenarios()
tool_generator\local\testscenario\parsedfeature::get_scenarios |
( |
| ) |
|
Get the list of scenarios.
- Return values
-
stdClass[] | array of scenarionum => {type: string, title: string, steps: steprunner[]} |
◆ is_valid()
tool_generator\local\testscenario\parsedfeature::is_valid |
( |
| ) |
|
Check if the parsed feature is valid.
- Return values
-
The documentation for this class was generated from the following file:
- admin/tool/generator/classes/local/testscenario/parsedfeature.php