File tree Expand file tree Collapse file tree 2 files changed +15
-9
lines changed
documentation/src/docs/asciidoc/user-guide/advanced-topics
junit-platform-suite-api/src/main/java/org/junit/platform/suite/api Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -65,9 +65,10 @@ include::{testDir}/example/BeforeAndAfterSuiteDemo.java[tags=user_guide]
6565==== Duplicate test execution
6666
6767Depending on the declared test selection, different suites may contain the same tests,
68- potentially with different configurations. Moreover, tests in a suite are executed
69- in addition to the tests executed by every other test engine. This can result in the same
70- tests being executed twice.
68+ potentially with different configurations.
69+
70+ Moreover, tests in a suite are executed in addition to the tests executed by every other
71+ test engine. This can result in the same tests being executed twice.
7172
7273image::suite-engine-duplicate-test-execution-diagram.svg[]
7374
Original file line number Diff line number Diff line change 4444 * annotation disables the latter as a source of parameters so that only explicit
4545 * configuration parameters are taken into account.
4646 *
47- * <p>Note: Tests in a suite are executed in addition to the tests executed by every
48- * other test engine. This can result in the same tests being executed twice. This can be
49- * prevented by configuring your build tool to only include the Suite Engine. Or by
50- * using a naming pattern. For example name all suites {@code *Suite} and all tests
51- * {@code *Test} and configure your build tool to only include the former. Alternatively,
52- * consider using tags to select specific groups of tests.
47+ * <p>Note: Depending on the declared test selection, different suites may contain the
48+ * same tests, potentially with different configurations.
49+ *
50+ * <p>Moreover, tests in a suite are executed in addition to the tests executed by every
51+ * other test engine. This can result in the same tests being executed twice and can be
52+ * prevented by configuring your build tool to only include the
53+ * {@code junit-platform-suite} engine. Or by using a naming pattern. For example name
54+ * all suites {@code *Suite} and all tests {@code *Test} and configure your build tool
55+ * to only include the former.
56+ *
57+ * <p>Alternatively, consider using tags to select specific groups of tests.
5358 *
5459 * @since 1.8
5560 * @see Select
You can’t perform that action at this time.
0 commit comments