We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f750c85 commit 589a04fCopy full SHA for 589a04f
documentation/src/docs/asciidoc/writing-tests.adoc
@@ -214,6 +214,12 @@ you can start your JVM with the following system property.
214
215
`-Djunit.jupiter.testinstance.lifecycle.default=per_class`
216
217
+WARNING: Changing the _default_ test instance lifecycle mode can lead to unpredictable
218
+results and fragile builds if not applied consistently. For example, if the build
219
+configures "per-class" semantics as the default but tests in the IDE are executed using
220
+"per-method" semantics, that can make it difficult to debug errors that occur on the
221
+build server.
222
+
223
[[writing-tests-nested]]
224
=== Nested Tests
225
0 commit comments