Package com.tngtech.jgiven.annotation
Annotation Type DoNotIntercept
-
@Documented @Retention(RUNTIME) @Target(METHOD) public @interface DoNotIntercept
Methods of stages classes annotated with this annotation will not be intercepted by JGiven.This is useful for technical helper methods that have to be called even if a previous step method has failed. Normally, JGiven will skip all step methods following a failed step, including methods with the
Hidden
annotation.Note that methods annotated with this annotation will not appear in the report.
You should write technical helper methods in camelCase so that the name already indicates that the method does not appear in the report.
- Since:
- 0.8.2
- See Also:
Hidden