Annotation Type DoNotIntercept
@Documented @Retention(RUNTIME) @Target(METHOD) public @interface DoNotInterceptMethods 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
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.
- See Also: