scalaVersion := "2.11.2"
testOptions in Test := Seq(Tests.Argument("-oC"))
libraryDependencies := Seq(
 "org.scala-lang" % "scala-compiler" % scalaVersion.value,
 "org.scalatest" %% "scalatest" % "2.2.1")
Hi Bill
Thanks for pointing out the reminder feature, it is very useful!
Regarding the use of "-oC" to drop TestSucceeded events, it doesn't seem to be
working. I created an example project over at Github with a very simple sbt file:scalaVersion := "2.11.2"
testOptions in Test := Seq(Tests.Argument("-oC"))
libraryDependencies := Seq(
 "org.scala-lang" % "scala-compiler" % scalaVersion.value,
 "org.scalatest" %% "scalatest" % "2.2.1")
When I let the tests run, the successul tests are still printed as you can see in the
Travis Log.
To test whether the arguments are applied, I exchanged "-oC" with "-oI" which
reprints all the failed tests at the end of the build. So in general it seems to be
working however not for dropping events.
Cheers
Niklas
Am Donnerstag, 14. August 2014 16:49:05 UTC+2 schrieb Bill Venners:
Hi Niklas,Â
You can drop non-critical events from the output, and I'll explain howÂ
below, but it sounds more like you may want to turn on "reminders".Â
The reminders feature will repeat failed and/or canceled tests at theÂ
> HiÂ
>Â
> So, is it possible to disable all the positive output from scalatest andÂ
> justÂ
> show the errors when executing tests using sbt?Â
>Â
> We have a multiproject-build using sbt 0.13.5 and scalatest 2.2.0 with aÂ
> coupleÂ
> hundred tests. When we run the tests and one of them fails we have to scrollÂ
> through the whole output to search for the failing test. What I usually endÂ
> upÂ
> doing is just running testQuick to see the failing test. However we stillÂ
> haveÂ
> to scroll through all the log output if tests fail on our integrationÂ
> server.Â
>Â
> I found a post from two years agoÂ
>Â https://groups.google.com/d/topic/scalatest-users/ESotz6OTSTQ/discussionÂ
> around the idea of the dot-reporter which is basically what I would like toÂ
> have, but I guess the idea was discarded again?Â
>Â
> Some pointers into the right direction would be appreciated.Â
>Â
> CheersÂ
> NiklasÂ
>Â
> --Â
Excellent! Thank you.
I hope the fix makes it into the next release.
Kind regards
Niklas
-------------------------------------
Developer at vaamo.de
> You received this message because you are subscribed to a topic in the Google Groups "scalatest-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/scalatest-users/Ht-5Z4JXjHQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to scalatest-use...@googlegroups.com.
> To post to this group, send email to scalatest-users@googlegroups.com
> To unsubscribe from this group, send email to
> For more options, visit this group at
> http://groups.google.com/group/scalatest-users?hl=en
> ScalaTest itself, and documentation, is available here:
> http://www.artima.com/scalatest
> ---
> You received this message because you are subscribed to a topic in the Google Groups "scalatest-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/scalatest-users/Ht-5Z4JXjHQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to scalatest-users+unsubscribe@googlegroups.com.
> To post to this group, send email to scalate...@googlegroups.com
> To unsubscribe from this group, send email to
> scalatest-use...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/scalatest-users?hl=en
> ScalaTest itself, and documentation, is available here:
> http://www.artima.com/scalatest
> ---
> You received this message because you are subscribed to a topic in the Google Groups "scalatest-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/scalatest-users/Ht-5Z4JXjHQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to scalatest-use...@googlegroups.com.
Hi Bill
Wow you actually caught that! ;-)
Many thanks to you and Chee Seng for the great help you provide.
Cheers
Niklas
-------------------------------
Developer at vaamo.de