com-lihaoyi / mill

Your shiny new Java/Scala build tool!
https://mill-build.com/
MIT License
1.99k stars 303 forks source link

Add `TestModule.discoveredTestClasses` target to ease test inspection #3191

Closed lefou closed 1 month ago

lefou commented 1 month ago

Example usage:

> mill show __.discoverTestClasses
{
  "foo.test.discoverTestClasses": [
    "foo.tests.FooTests",
    "foo.tests.FoobarTests"
  ]
  "bar.test.discoverTestClasses": [
    "foo.tests.BarTests"
  ]
}

Fix https://github.com/com-lihaoyi/mill/issues/3169