Package-level declarations

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
@API(status = API.Status.STABLE, since = "3.0")
@TestTemplate
@ExtendWith(value = [GeneratedParametersTestExtension::class])
annotation class GeneratedParametersTest(val name: String = DEFAULT_DISPLAY_NAME, val filters: Array<String> = [])

Marks a test whose parameters are generated, running it once per combination of generated values.

Link copied to clipboard

Annotation to indicate that the annotated String parameter should be populated with a random value from the provided values array.

Link copied to clipboard
@API(status = API.Status.EXPERIMENTAL, since = "4.1")
annotation class WithNull

Adds null to the values generated for a parameter.

Properties

Link copied to clipboard

The default GeneratedParametersTest.name, matching the default of @ParameterizedTest so that IDEs and test reports read generated invocations the same way they read parameterized ones.