Skip to content

Report discovery errors for ineffectual lifecycle methods#4415

Merged
marcphilipp merged 1 commit into
mainfrom
marc/242-report-defunct-lifecycle-methods
Mar 20, 2025
Merged

Report discovery errors for ineffectual lifecycle methods#4415
marcphilipp merged 1 commit into
mainfrom
marc/242-report-defunct-lifecycle-methods

Conversation

@marcphilipp

Copy link
Copy Markdown
Member

Overview

Declaring Before/AfterParameterizedClassInvocation in regular test
classes not annotated with ParameterizedClass now causes a discovery
issue with severity ERROR to be reported.


I hereby agree to the terms of the JUnit Contributor License Agreement.


Definition of Done

Declaring `Before`/`AfterParameterizedClassInvocation` in regular test
classes not annotated with `ParameterizedClass` now causes a discovery
issue with severity `ERROR` to be reported.
@marcphilipp marcphilipp added this to the 5.13.0-M1 milestone Mar 20, 2025
@marcphilipp marcphilipp self-assigned this Mar 20, 2025
@marcphilipp marcphilipp merged commit 2aefea2 into main Mar 20, 2025
@marcphilipp marcphilipp deleted the marc/242-report-defunct-lifecycle-methods branch March 20, 2025 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant