-
- All Implemented Interfaces:
-
java.lang.annotation.Annotation
@Retention(value = RetentionPolicy.RUNTIME) public @interface WithJunitRule
Use it to annotate class which contains Junit org.junit.Rule
-
-
Method Summary
Modifier and Type Method Description abstract booleanuseAsTestClassInDescription()By default Cucumber treats feature as test class which is not real classand cannot be treated as such in runtime.E. abstract Stringvalue()Tag expression. -
-
Method Detail
-
useAsTestClassInDescription
abstract boolean useAsTestClassInDescription()
By default Cucumber treats feature as test class which is not real classand cannot be treated as such in runtime.E.g HiltAndroidRule relies on having test class passed to its constructor matchingthat passed to org.junit.runner.Description
-
value
abstract String value()
Tag expression. If the expression applies to the current scenario JUnit rule declared in class annotated by WithJunitRule will be used
-
-
-
-