mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-01-19 05:43:51 +01:00
2020 02 23 scalatest show test duration (#1159)
* Make scalatest build show test duration * Use more idiomatic flag passing
This commit is contained in:
parent
7652105bdd
commit
89b8989b2f
@ -60,10 +60,6 @@ object CommonSettings {
|
||||
Seq("-source", "1.8", "-target", "1.8")
|
||||
}
|
||||
},
|
||||
//show full stack trace of failed tests
|
||||
testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-oF"),
|
||||
//show duration of tests
|
||||
testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-oD"),
|
||||
licenses += ("MIT", url("http://opensource.org/licenses/MIT")),
|
||||
// Travis has performance issues on macOS
|
||||
Test / parallelExecution := !(Properties.isMac && isCI)
|
||||
@ -107,6 +103,9 @@ object CommonSettings {
|
||||
val testCompilerOpts: Seq[String] = commonCompilerOpts
|
||||
|
||||
lazy val testSettings: Seq[Setting[_]] = Seq(
|
||||
//show full stack trace (-oF) of failed tests and duration of tests (-oD)
|
||||
testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-oDF"),
|
||||
logBuffered in Test := false,
|
||||
publish / skip := true
|
||||
) ++ settings
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user