Class RepeatUtils
java.lang.Object
com.atlassian.bamboo.testutils.junit.rule.RepeatUtils
Utils for the
RepeatRule.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA generic test method descriptor. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull RepeatThis method returns an instance of theRepeatannotation containing default parameters.static @NotNull RepeatgetEffectiveRepeatAnnotation(@NotNull RepeatUtils.TestMethod testMethod, @NotNull Map<String, Repeat> defaultRepeatSpecs) Get the effective repeat annotation for a given test case.
-
Method Details
-
getEffectiveRepeatAnnotation
@NotNull public static @NotNull Repeat getEffectiveRepeatAnnotation(@NotNull @NotNull RepeatUtils.TestMethod testMethod, @NotNull @NotNull Map<String, Repeat> defaultRepeatSpecs) Get the effective repeat annotation for a given test case. This method will look up custom repeat annotations on the method, if not found it will check default repeat specs, and if still not found, it will return aRepeatannotation with default values. -
getDefaultRepeatAnnotation
This method returns an instance of theRepeatannotation containing default parameters. It works by finding and returning the annotation declared on itself.
-