public.javadoc.org.spincast.testing.junitrunner.RepeatUntilFailure.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
RepeatUntilFailure (org.spincast:spincast-framework 1.13.0 API)
org.spincast.testing.junitrunner
Annotation Type RepeatUntilFailure
-
@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
public @interface RepeatUntilFailure
Annotation to specify that a test or a test class
will be ran until it fails or the max number of tries is
reached.
You should not use this except when you try to debug
a test that sometimes fails... This allows you to run
it multiple times to trigger the error.
Also, this may be obvious, but notice that
the code annotated with this will be
ran more than once! Make sure this code does support it
and doesn't have unwanted side effects.
Copyright © 2019. All rights reserved.