Open
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Type
Projects
Status
Todo