【发布时间】:2016-02-09 16:48:20
【问题描述】:
请帮我解决这个问题: 我在 predictionio 中进行了单元测试,并希望为此创建 HTML 输出
如果我在 sbt 中运行测试,如何让 predictionio 创建 HTML 输出?
非常感谢。
【问题讨论】:
标签: html scala unit-testing sbt predictionio
请帮我解决这个问题: 我在 predictionio 中进行了单元测试,并希望为此创建 HTML 输出
如果我在 sbt 中运行测试,如何让 predictionio 创建 HTML 输出?
非常感谢。
【问题讨论】:
标签: html scala unit-testing sbt predictionio
我在 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")
【讨论】: