Skip to content

Conversation

@marcphilipp
Copy link
Member

Overview

Report discovery issues for invalid "standalone" and @Nested test classes.

Issue: #242


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


Definition of Done

@marcphilipp marcphilipp requested a review from Copilot April 4, 2025 16:54
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 21 out of 21 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

junit-jupiter-engine/src/main/java/org/junit/jupiter/engine/discovery/ClassSelectorResolver.java:86

  • [nitpick] The term 'standalone test class' used here may be confused with non-nested classes. Consider clarifying the naming (in both the code and documentation) to differentiate standalone from member/nested test classes more clearly.
else if (isAcceptedStandaloneTestClass(testClass)) {

@marcphilipp marcphilipp merged commit 1871441 into main Apr 7, 2025
13 checks passed
@marcphilipp marcphilipp deleted the marc/242-test-class-validation branch April 7, 2025 08:02
@marcphilipp marcphilipp added this to the 5.13.0-M3 milestone Apr 7, 2025
@marcphilipp marcphilipp self-assigned this Apr 9, 2025
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.

2 participants