Annotation Type Pending


@API(status=STABLE) @Retention(RUNTIME) @Target(TYPE) public @interface Pending
Any exception class annotated with this annotation will be treated as a "pending" exception. That is - if the exception is thrown from a step definition or hook, the scenario's status will be pending instead of failed.