mirror of https://github.com/sbt/sbt.git
Split test-quick test into two
This commit is contained in:
parent
57b7317251
commit
690a3947f2
|
|
@ -0,0 +1,7 @@
|
|||
> testQuick
|
||||
|
||||
# https://github.com/sbt/sbt/issues/5504
|
||||
$ copy-file changed/MathFunction.scala src/test/scala/MathFunction.scala
|
||||
> compile
|
||||
> debug
|
||||
-> testQuick MathFunctionTest
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
Global / cacheStores := Seq.empty
|
||||
|
||||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
|
||||
scalaVersion := "2.12.20"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.settings(
|
||||
libraryDependencies += scalatest % Test,
|
||||
Test / parallelExecution := false
|
||||
)
|
||||
|
|
@ -7,7 +7,6 @@
|
|||
# Non-API change
|
||||
$ copy-file changed/A.scala src/main/scala/A.scala
|
||||
> compile
|
||||
$ sleep 2000
|
||||
# Create is run. Delete is not since it doesn't have src/main dependency.
|
||||
-> testQuick
|
||||
> testOnly Delete
|
||||
|
|
@ -19,7 +18,6 @@ $ sleep 2000
|
|||
|
||||
$ copy-file changed/B.scala src/main/scala/B.scala
|
||||
> compile
|
||||
$ sleep 2000
|
||||
-> testQuick Create
|
||||
> testOnly Delete
|
||||
# Previous run of Create failed, re-run.
|
||||
|
|
@ -28,13 +26,6 @@ $ sleep 2000
|
|||
|
||||
$ copy-file changed/Base.scala src/test/scala/Base.scala
|
||||
> Test/compile
|
||||
$ sleep 2000
|
||||
-> testQuick Create
|
||||
> testQuick Delete
|
||||
> testQuick Create
|
||||
|
||||
# https://github.com/sbt/sbt/issues/5504
|
||||
$ copy-file changed/MathFunction.scala src/test/scala/MathFunction.scala
|
||||
> compile
|
||||
$ sleep 2000
|
||||
-> testQuick MathFunctionTest
|
||||
Loading…
Reference in New Issue