Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
请帮我解决这个问题:我在 predictionio 中进行了单元测试,并希望为此创建 HTML 输出
代码类似于此 https://github.com/PredictionIO/template-scala-parallel-similarproduct/blob/develop/src/test/scala/CooccurenceAlgorithmTest.scala
如果我在 sbt 中运行测试,如何让 predictionio 创建 HTML 输出?
非常感谢。
我在 build.sbt 中找到了解决方案:
libraryDependencies ++= Seq( ... "org.scalatest" %% "scalatest" % "2.2.1" % "test", "org.pegdown" % "pegdown" % "1.0.2" % "test" )
测试中的 testOptions += Tests.Argument(TestFrameworks.ScalaTest, "-h", "target/report")