Package io.github.artsok
Annotation Type RepeatedIfExceptionsTest
-
@Target(METHOD) @Retention(RUNTIME) @TestTemplate @ExtendWith(RepeatIfExceptionsExtension.class) public @interface RepeatedIfExceptionsTest
-
-
Field Summary
Fields Modifier and Type Fields Description static StringCURRENT_REPETITION_PLACEHOLDERPlaceholder for the current repetition count of a@RepeatedTestmethod:{currentRepetition}static StringDISPLAY_NAME_PLACEHOLDERPlaceholder for the display name of a@RepeatedTestmethod:{displayName}static StringLONG_DISPLAY_NAMELong display name pattern for a repeated test: "{displayName} :: Repetition {currentRepetition} of {totalRepetitions}"static StringSHORT_DISPLAY_NAMEShort display name pattern for a repeated test: "Repetition {currentRepetition} of {totalRepetitions}"static StringTOTAL_REPETITIONS_PLACEHOLDERPlaceholder for the total number of repetitions of a@RepeatedTestmethod:{totalRepetitions}
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Class<? extends Throwable>[]exceptionsPool of exceptionsintminSuccessMinimum successStringnameDisplay name for test methodintrepeatsNumber of repeatslongsuspendAdd break (cooldown) to each tests.
-
-
-
Field Detail
-
DISPLAY_NAME_PLACEHOLDER
static final String DISPLAY_NAME_PLACEHOLDER
Placeholder for the display name of a@RepeatedTestmethod:{displayName}
-
-
-
CURRENT_REPETITION_PLACEHOLDER
static final String CURRENT_REPETITION_PLACEHOLDER
Placeholder for the current repetition count of a@RepeatedTestmethod:{currentRepetition}
-
-
-
TOTAL_REPETITIONS_PLACEHOLDER
static final String TOTAL_REPETITIONS_PLACEHOLDER
Placeholder for the total number of repetitions of a@RepeatedTestmethod:{totalRepetitions}
-
-
-
SHORT_DISPLAY_NAME
static final String SHORT_DISPLAY_NAME
Short display name pattern for a repeated test: "Repetition {currentRepetition} of {totalRepetitions}"
-
-
-
LONG_DISPLAY_NAME
static final String LONG_DISPLAY_NAME
Long display name pattern for a repeated test: "{displayName} :: Repetition {currentRepetition} of {totalRepetitions}"- See Also:
DISPLAY_NAME_PLACEHOLDER,SHORT_DISPLAY_NAME
-
-
-
name
String name
Display name for test method- Returns:
- Short name
- Default:
- "Repetition {currentRepetition} of {totalRepetitions}"
-
-