I have tried command 'sbt "project camera-answer" test' in the console, but too many tests shows, I only want to show failed test. How should I do.
you can run sbt testQuick.
http://www.scala-sbt.org/0.13/docs/Testing.html
also if you use ScalaTest you can add:
testOptions in Test += Tests.Argument("-cG")
to your 'build.sbt'.
According to the recent https://www.scalatest.org/user_guide/using_the_runner …
sbt> test -- -oI
-o[…] select the standard output reporter
…
I - show reminder of failed and canceled tests without stack traces
T - show reminder of failed and canceled tests with short stack traces
G - show reminder of failed and canceled tests with full stack traces
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.