Annotation Types Summary |
AfterScenario |
Marks methods to be executed after the whole Scenario has been executed. |
AfterStage |
Marks methods to be executed after a stage has been executed. |
BeforeScenario |
Marks methods to be executed before the whole Scenario has been executed. |
BeforeStage |
Marks methods to be executed before a stage is executed,
i.e. |
CasesAsTable |
Deprecated. since v0.2.2, data tables are the default, so this annotation has no effect anymore |
Description |
This annotation can be used to define an alternate
description for a step method or test method. |
ExpectedScenarioState |
Marks fields to be expected by a scenario stage. |
ExtendedDescription |
This annotation can be used to define an extended description for a step method. |
Format |
Allows arguments of step methods to be formatted with an ArgumentFormatter. |
Formatf |
A special format annotation that uses the formatting
known from the String.format method. |
Hidden |
Annotates a step method to be hidden in reports. |
IntroWord |
Marks a method as an introduction word of a step
Examples for introduction words are given, when, then, and, etc. |
IsTag |
Marks an annotation to be used as a tag in JGiven reports. |
JGivenConfiguration |
|
NotImplementedYet |
Marks methods of step definitions as not implemented yet. |
ProvidedScenarioState |
Marks fields to be provided by a scenario stage. |
ScenarioDescription |
Deprecated. just use Description instead, will be removed with v0.5 |
ScenarioRule |
Marks fields to be Scenario rules. |
ScenarioStage |
Marks fields to be stage instances
This is useful to reuse stages within stages. |
ScenarioState |
Marks fields to be read and/or written by a scenario stage. |