相关疑难解决方法(0)

为什么scalatest会混淆输出?

我从sbt运行我的scalatest,输出混合起来 - scalatest打印所有测试运行,并对它们发表评论,并在中间某处打印统计信息:

> test
[info] Compiling 1 Scala source to /home/platon/Tor/scala-dojo-02/target/scala-2.9.1/classes...
[info] FunsWithListsTests:
[info] - should return list of labels
[info] - should return the average rating of games belonging to Zenga
[info] - should return the total ratings of all games
[info] - should return the total ratings of EA games *** FAILED ***
[info]   0 did not equal 170 (FunsWithListsTests.scala:35)
[error] Failed: : Total 8, Failed 5, Errors 0, Passed 3, Skipped 0
[info] - should increase …
Run Code Online (Sandbox Code Playgroud)

scala sbt scalatest

14
推荐指数
1
解决办法
896
查看次数

标签 统计

sbt ×1

scala ×1

scalatest ×1