Skip to content

Commit

Permalink
Fix ScalaTest testOnly include option
Browse files Browse the repository at this point in the history
Fixes com-lihaoyi#3440

The problem is mill define all the test tasks with `explicitlySpecified`
to be `true`. This result this test always be included.
[Code](https://github.com/scalatest/scalatest/blob/main/jvm/core/src/main/scala/org/scalatest/tools/Framework.scala#L267)
in Scalatest for related logic.
  • Loading branch information
wb14123 committed Sep 16, 2024
1 parent 37de5b0 commit 554781a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testrunner/src/mill/testrunner/TestRunnerUtils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ import scala.jdk.CollectionConverters.IteratorHasAsScala
yield new TaskDef(
cls.getName.stripSuffix("$"),
fingerprint,
true,
false,
Array(new SuiteSelector)
)
)
Expand Down

0 comments on commit 554781a

Please sign in to comment.