Step objects: instanciate steps and sequence them as scenarios¶
The quickstart showed how to quickly write a first test scenario using step...()
methods.
However, test code reuse can hardly be achieved with step methods.
In order to be able to reuse steps between different scenarios,
it is better defining them as classes, inheriting from scenario.Step
.
Todo
Documentation needed for steps as objects.
Alternative scenarios¶
Todo
Documentation needed for alternative scenarios.