@@ -1493,18 +1493,18 @@ display name can be configured for each repetition via the `name` attribute of t
14931493combination of static text and dynamic placeholders. The following placeholders are
14941494currently supported.
14951495
1496- - `{displayName}`: display name of the `@RepeatedTest` method
1497- - `{currentRepetition}`: the current repetition count
1498- - `{totalRepetitions}`: the total number of repetitions
1496+ - `+ {displayName}+ `: display name of the `@RepeatedTest` method
1497+ - `+ {currentRepetition}+ `: the current repetition count
1498+ - `+ {totalRepetitions}+ `: the total number of repetitions
14991499
15001500The default display name for a given repetition is generated based on the following
1501- pattern: `"repetition {currentRepetition} of {totalRepetitions}"`. Thus, the display
1501+ pattern: `"repetition + {currentRepetition}+ of + {totalRepetitions}+ "`.Thus, the display
15021502names for individual repetitions of the previous `repeatedTest()` example would be:
1503- `repetition 1 of 10`, `repetition 2 of 10`, etc. If you would like the display name of
1503+ `repetition 1 of 10`, `repetition 2 of 10`, etc.If you would like the display name of
15041504the `@RepeatedTest` method included in the name of each repetition, you can define your
1505- own custom pattern or use the predefined `RepeatedTest.LONG_DISPLAY_NAME` pattern. The
1506- latter is equal to `"{displayName} :: repetition {currentRepetition} of
1507- {totalRepetitions}"` which results in display names for individual repetitions like
1505+ own custom pattern or use the predefined `RepeatedTest.LONG_DISPLAY_NAME` pattern.The
1506+ latter is equal to `"+ {displayName}+ :: repetition + {currentRepetition}+ of
1507+ + {totalRepetitions}+ "` which results in display names for individual repetitions like
15081508`repeatedTest() :: repetition 1 of 10`, `repeatedTest() :: repetition 2 of 10`, etc.
15091509
15101510In order to retrieve information about the current repetition, the total number of
@@ -1524,15 +1524,15 @@ The `repeatedTest()` method is identical to the example from the previous sectio
15241524current repeated test.
15251525
15261526`repeatedTestWithFailureThreshold()` demonstrates how to set a failure threshold and
1527- simulates an unexpected failure for every second repetition. The resulting behavior can be
1527+ simulates an unexpected failure for every second repetition.The resulting behavior can be
15281528viewed in the `ConsoleLauncher` output at the end of this section.
15291529
15301530The next two methods demonstrate how to include a custom `@DisplayName` for the
15311531`@RepeatedTest` method in the display name of each repetition. `customDisplayName()`
15321532combines a custom display name with a custom pattern and then uses `TestInfo` to verify
1533- the format of the generated display name. `Repeat!` is the `{displayName}` which comes
1533+ the format of the generated display name. `Repeat!` is the `+ {displayName}+ ` which comes
15341534from the `@DisplayName` declaration, and `1/1` comes from
1535- `{currentRepetition}/ {totalRepetitions}`. In contrast,
1535+ `+ {currentRepetition}+/+ {totalRepetitions}+`. In contrast,
15361536`customDisplayNameWithLongPattern()` uses the aforementioned predefined
15371537`RepeatedTest.LONG_DISPLAY_NAME` pattern.
15381538
@@ -1823,8 +1823,6 @@ Other extensions can access the parameters and resolved arguments of a parameter
18231823or class by retrieving a `{ParameterInfo}` object from the `{ExtensionContext_Store}`.
18241824Please refer to the Javadoc of `{ParameterInfo}` for details.
18251825
1826- [[writing-tests-parameterized-tests-argument-aggregation]]
1827-
18281826[[writing-tests-parameterized-tests-sources]]
18291827==== Sources of Arguments
18301828
0 commit comments