cucumber.api
Annotation Type Pending


@Retention(value=RUNTIME)
@Target(value=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.

See Also:
PendingException



Copyright © 2013. All Rights Reserved.