HTML-отчеты не генерируются при использовании самого лучшего с sbt.
Мой файл SBT:
name := "ScalaSample"
version := "0.1"
scalaVersion := "2.13.0"
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.8" % "test"
libraryDependencies += "org.seleniumhq.selenium" % "selenium-java" % "2.35.0" % "test"
testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-h", "target/test-reports")
testOptions in Test ++= Seq(Tests.Argument(TestFrameworks.ScalaTest, "-h"), Tests.Argument(TestFrameworks.ScalaTest, "-h", "target/test-reports"))
libraryDependencies ++= Seq(
"org.pegdown" % "pegdown" % "1.6.0" % Test,
"org.scalatestplus.play" %% "scalatestplus-play" % "1.5.1" % Test
)
testOptions in Test ++= Seq(
Tests.Argument(TestFrameworks.ScalaTest, "-u", "target/test-reports"),
Tests.Argument(TestFrameworks.ScalaTest, "-h", "target/test-reports")
)