diff --git a/sbt-app/src/sbt-test/tests/i5609-do-not-discover-testonly/test b/sbt-app/src/sbt-test/tests/i5609-do-not-discover-testonly/test index f91c91f73..256dbd9f4 100644 --- a/sbt-app/src/sbt-test/tests/i5609-do-not-discover-testonly/test +++ b/sbt-app/src/sbt-test/tests/i5609-do-not-discover-testonly/test @@ -1,6 +1,7 @@ # #5609: When explicitly requested via testOnly, @DoNotDiscover suite should run. # First: full test run must exclude @DoNotDiscover (TestSpec2). # Second: testOnly with explicit FQN must run TestSpec2. +# Third: testOnly with a pattern filter (com.test...) — no explicit FQN, so @DoNotDiscover stays excluded. > clean > testFull @@ -13,3 +14,6 @@ $ absent target/SuiteCompleted-TestSpec2 > testOnly com.test.TestSpec2 $ exists target/SuiteStarting-TestSpec2 $ exists target/SuiteCompleted-TestSpec2 + +> clean +> testOnly com.test...