Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
BeforeScenario |
|
| 0.0;0 |
1 | package org.jbehave.core.annotations; | |
2 | ||
3 | import java.lang.annotation.ElementType; | |
4 | import java.lang.annotation.Retention; | |
5 | import java.lang.annotation.RetentionPolicy; | |
6 | import java.lang.annotation.Target; | |
7 | ||
8 | @Retention(RetentionPolicy.RUNTIME) | |
9 | @Target(ElementType.METHOD) | |
10 | public @interface BeforeScenario { | |
11 | ||
12 | /** | |
13 | * Signals that the annoated method should be invoked only upon given type | |
14 | * | |
15 | * @return A ScenarioType upon which the method should be invoked | |
16 | */ | |
17 | ScenarioType uponType() default ScenarioType.NORMAL; | |
18 | ||
19 | } |