scenario.stepsection module

Step section management.

class StepSection

Bases: StepDefinition

Step section definition.

Overloads StepDefinition but does not act as a regular step.

ScenarioRunner actually recognizes StepSection instances and skips their execution.

ScenarioReport also recognizes StepSection instances, and therefore does not generate ‘executions’ nor ‘actions-results’ sections for them.

__init__(description)
Parameters:

description – Step section description.

description

Step section description.

step()

Calls method, when not overloaded.

This method should be overloaded by user step definition classes.

Otherwise, this base implementation of this method expects the method attribute to be set, and invokes it.

_abc_impl = <_abc_data object>