Skip to content

Fail @ParameterizedTest if there is no registered ArgumentProvider #4146

@marcphilipp

Description

@marcphilipp

Not declaring any @...Source annotation on a @ParameterizedTest method is most likely a user error and should be surfaced as a test failure rather than being silently ignored (now that #1477 permits zero invocations).

Deliverables

  • Check that there's at least one ArgumentProvider registered in ParameterizedTestExtension and fail the container otherwise

Metadata

Metadata

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions