Inheritance of @Given, @When and @Then
PaulBrandesATSaxSys opened this issue · comments
PaulBrandesATSaxSys commented
It should be possible to Inherit @Given-, @When- and @Then- Methods.
Multiple @when and @then are possible.
There can only be one @when either in the parent- or the child-class. (Or the Spec is invalid)
The execution-order is:
Parent-Given -> Child-Given -> Parent/Child-When -> Parent-Then -> Child-Then