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
JUnit5 tests and their methods are 'public' -- it's unnecessary #1035
Labels
Comments
@Graur pls, take care of this |
There is a PMD check for that https://pmd.github.io/latest/pmd_rules_java_bestpractices.html#junit5testshouldbepackageprivate |
@andreoss Indeed, thanks! |
This was referenced Aug 19, 2022
Graur
added a commit
to Graur/eo
that referenced
this issue
Aug 23, 2022
Graur
added a commit
to Graur/eo
that referenced
this issue
Aug 23, 2022
Graur
added a commit
to Graur/eo
that referenced
this issue
Aug 23, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
see https://stackoverflow.com/questions/55215949/why-junit-5-default-access-modifier-changed-to-package-private
let's make both classes and methods package-private. simply, remove the
public
.The text was updated successfully, but these errors were encountered: