We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0569262 commit f6a584eCopy full SHA for f6a584e
documentation/src/docs/asciidoc/user-guide/writing-tests.adoc
@@ -124,7 +124,9 @@ they must _not_ be `private`.
124
125
It is generally recommended to omit the `public` modifier for test classes, test methods,
126
and lifecycle methods unless there is a technical reason for doing so – for example, when
127
-a test class is extended by a test class in another package.
+a test class is extended by a test class in another package. Another technical reason for
128
+making classes and methods `public` is to simplify testing on the module path when using
129
+the Java Module System.
130
====
131
132
The following test class demonstrates the use of `@Test` methods and all supported
0 commit comments