Conversation
a9b1154 to
0564a30
Compare
|
Compared to main: (comment created at 2026-05-21 16:01:36+00:00 for 9c0c203) |
ff990e0 to
1d12872
Compare
…tests.Junit5ParentWithTest ... because I plan to use it in tests for different rules
1d12872 to
9c0c203
Compare
|
This introduces a couple more usages of |
|
You're right. Adding something just to rename it days later doesn't make sense. Should I rename this to JUnitJupiterTestShouldBePackagePrivate? That's the naming scheme both of us preferred, right? What do you mean with "a couple"? #6682 is only about rule names and properties. Were you thinking about renaming all the methods referring to junit5 as well? |
I just meant that previously it was the name of the rule, now it's also the name of a rule class and appears in some tests (e.g. For 7.25 it would IMHO make sense to rename |
|
Oh, right. This is an existing rule. (Shows how good I know my own PRs...) In that case, let's not rename anything in this PR. Instead, let's create an issue for #6682 and rename all existing rules/properties at once. That way, there is no release with some rules renamed and some not. |
Describe the PR
Fixes JUnit5TestShouldBePackagePrivate by converting it from XPath to Java. That allows us to use the infrastructure introduced in #6604
Related issues
Ready?
./mvnw clean verifypasses (checked automatically by github actions)