-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Milestone
Description
Overview
Currently, the target of @ParameterizedTest is constrained to methods. When creating technology compatibility kits, it would be awesome to be able to apply this (or a similar annotation) to the test class so that all tests in that class are parameterized the same way.
Proposal
Rather than:
class MyTest {
@ParameterizedTest
@ArgumentSource(...)
void feature1() { ... }
@ParameterizedTest
@ArgumentSource(...)
void feature2() { ... }
}Something like:
@ParameterizedTest
@ArgumentSource(...)
class MyTest {
@Test // ?
void feature1() { ... }
@Test
void feature2() { ... }
}Related Issues
sdeleuze, mab, wrlyonsjr, bitti, dmitry-timofeev and 143 more
Metadata
Metadata
Assignees
Type
Projects
Status
Done