Skip to content

Avoid reporting discovery warnings for abstract methods #4668

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

marcphilipp
Copy link
Member

Overview

Resolves #4636.


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


Definition of Done

@marcphilipp marcphilipp force-pushed the marc/4636-no-discovery-issues-for-abstract-methods branch from d69ceec to 1b9875b Compare June 22, 2025 13:38
method.toGenericString());
assertThat(discoveryIssues.getLast().message()) //
var issue = getOnlyElement(discoveryIssues);
assertThat(issue.message()) //

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// is this necessary?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In some, much more than I like, cases like this, yes. It's due to a limitation of the underlying code formatter being used: spotless

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Discovery issue incorrectly reported for abstract @Test method in abstract class
3 participants