Annotation Type RepeatedIfExceptionsTest

    • Field Detail

      • DISPLAY_NAME_PLACEHOLDER

        static final String DISPLAY_NAME_PLACEHOLDER
        Placeholder for the display name of a @RepeatedTest method: {displayName}
      • CURRENT_REPETITION_PLACEHOLDER

        static final String CURRENT_REPETITION_PLACEHOLDER
        Placeholder for the current repetition count of a @RepeatedTest method: {currentRepetition}
      • TOTAL_REPETITIONS_PLACEHOLDER

        static final String TOTAL_REPETITIONS_PLACEHOLDER
        Placeholder for the total number of repetitions of a @RepeatedTest method: {totalRepetitions}
    • Element Detail

      • exceptions

        Class<? extends Throwable>[] exceptions
        Pool of exceptions
        Returns:
        Exception that handlered
        Default:
        {java.lang.Throwable.class}
      • repeats

        int repeats
        Number of repeats
        Returns:
        N-times repeat test if it failed
        Default:
        1
      • minSuccess

        int minSuccess
        Minimum success
        Returns:
        After n-times of passed tests will disable all remaining repeats.
        Default:
        1
      • suspend

        long suspend
        Add break (cooldown) to each tests. It matters, when you get some infrastructure problems and you want to run your tests through timeout.
        Returns:
        the length of time to sleep in milliseconds
        Default:
        0L
      • name

        String name
        Display name for test method
        Returns:
        Short name
        Default:
        "Repetition {currentRepetition} of {totalRepetitions}"