All Downloads are FREE. Search and download functionalities are using the official Maven repository.

public.javadoc.org.spincast.testing.junitrunner.Repeat.html Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version






Repeat (org.spincast:spincast-framework 1.0.0 API)












org.spincast.testing.junitrunner

Annotation Type Repeat



  • @Target(value={TYPE,METHOD})
     @Retention(value=RUNTIME)
    public @interface Repeat
    Annotation to specify that a test or a test class has to be run multiple time.

    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.

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element and Description
      int sleep
      Sleep time in milliseconds between two loops.
      int value
      The number of time to repeat the test.
    • Element Detail

      • value

        public abstract int value
        The number of time to repeat the test.
        Default:
        2
      • sleep

        public abstract int sleep
        Sleep time in milliseconds between two loops. By defaults, no sleep.
        Default:
        0

Copyright © 2019. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy