Replies: 1 comment
-
I can't tell whether this is what you expected from sbt (as you have not provided any sbt test output to show what you mean with summary), but utest typically only prints a summary when the number of tests (failed tests) exceeds a threshold. According to the documentation, the default summary threshold is As an additional note regarding your ported build script: Mill also has a convenience trait object gentool_2 extends SbtModule {
// use one level above as module base dir
def millSourcePath = super.millSourcePath / os.up
val utestV = "0.7.11"
val ammoniteV = "2.2.0"
def scalaV = "2.12.9"// scalaVer
override def scalaVersion = scalaV
override def ammoniteVersion = ammoniteV
def ivyDeps = Agg(
//...
)
object test extends Tests with TestModule.Utest {
override def ammoniteVersion = ammoniteV
def ivyDeps = Agg(
ivy"com.lihaoyi::utest:${utestV}"
)
}
}
|
Beta Was this translation helpful? Give feedback.
-
I am porting an old
sbt
based project to mill. Project usesuTest
for testing.In sbt when I run
sbt test
thesbt
runs the utests and after all testsuTest
(orsbt
) prints a nice summary on test success/failure.When the exactly same code is run in
mill
build.sc
withmill gentool_2.test
command, this summary is not printed. How can I get this summary printed also withmill
?Used versions are:
Simplified
build.sc
:Beta Was this translation helpful? Give feedback.
All reactions