Skip to content

Commit e540619

Browse files
committed
Remove :standard-include-class-name-pattern: from User Guide
This commit replaces the outdated and hardcoded :standard-include-class-name-pattern: from the User Guide and replaces it with plain English describing the supported prefix and suffixes. Issue: #1354
1 parent 203b829 commit e540619

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

documentation/src/docs/asciidoc/link-attributes.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ endif::[]
2323
:TestEngine: {javadoc-root}/org/junit/platform/engine/TestEngine.html[TestEngine]
2424
:DiscoverySelectors_selectMethod: {javadoc-root}/org/junit/platform/engine/discovery/DiscoverySelectors.html#selectMethod-java.lang.String-[selectMethod(String) in DiscoverySelectors]
2525
:TestExecutionListener: {javadoc-root}/org/junit/platform/launcher/TestExecutionListener.html[TestExecutionListener]
26-
:standard-include-class-name-pattern: ^.*Tests?$
2726
//
2827
:api-package: {javadoc-root}/org/junit/jupiter/api/package-summary.html[org.junit.jupiter.api]
2928
:extension-api-package: {javadoc-root}/org/junit/jupiter/api/extension/package-summary.html[org.junit.jupiter.api.extension]

documentation/src/docs/asciidoc/user-guide/running-tests.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -635,8 +635,8 @@ include::{testDir}/example/JUnit4SuiteDemo.java[tags=user_guide]
635635
----
636636

637637
The `JUnit4SuiteDemo` will discover and run all tests in the `example` package
638-
and its subpackages. By default, it will only include test classes whose names match the
639-
pattern `{standard-include-class-name-pattern}`.
638+
and its subpackages. By default, it will only include test classes whose names
639+
either begin with `Test` or end with `Test` or `Tests`.
640640

641641
.Additional Configuration Options
642642
NOTE: There are more configuration options for discovering and filtering tests than just

0 commit comments

Comments
 (0)