-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
**Problem** We have incremental testing, but it's not used by default. **Solution** This renames testQuick to test, and test to testFull.
- Loading branch information
Showing
19 changed files
with
39 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# Note: this test is meaningless on less than four cores | ||
|
||
> test | ||
> testFull | ||
-> check | ||
> clean | ||
> set testForkedParallel := true | ||
> test | ||
> testFull | ||
> check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
sbt-app/src/sbt-test/tests/fork-test-group-parallel-custom-tags/test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
> test | ||
> set concurrentRestrictions in Global := Seq(Tags.limitAll(4)) | ||
> testFull | ||
> set Global / concurrentRestrictions := Seq(Tags.limitAll(4)) | ||
> testFailure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
> testFailure | ||
> set concurrentRestrictions in Global += Tags.limit(Tags.ForkedTestGroup, 1) | ||
> test | ||
> set Global / concurrentRestrictions += Tags.limit(Tags.ForkedTestGroup, 1) | ||
> testFull |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5" | ||
|
||
ThisBuild / scalaVersion := "2.12.19" | ||
|
||
scalaVersion := "2.12.19" | ||
fork := true | ||
libraryDependencies += scalatest % Test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
> test | ||
> testFull | ||
|
||
$ copy-file changes/Test.scala src/test/scala/Test.scala | ||
|
||
> test | ||
> testFull | ||
|
||
> 'set javaOptions += "-Xno-opt"' | ||
-> test | ||
-> testFull | ||
|
||
> session clear | ||
> 'set envVars += ("tests.max.value" -> "0")' | ||
-> test | ||
-> testFull |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|
||
> clean | ||
|
||
> test | ||
> testFull | ||
|
||
$ exists target/SuiteStarting-NestedSpecs | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|
||
> clean | ||
|
||
> test | ||
> testFull | ||
|
||
$ exists target/SuiteStarting-NestedSpecs | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5" | ||
ThisBuild / scalaVersion := "2.12.19" | ||
scalaVersion := "2.12.19" | ||
libraryDependencies += scalatest | ||
Test / testOptions += Tests.Argument("-C", "custom.CustomReporter") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
|
||
> clean | ||
|
||
> test | ||
> testFull | ||
|
||
$ exists target/RunStarting | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
> clean | ||
$ delete src/ | ||
$ copy-file changes/ClassFailModuleSuccess.scala src/test/scala/Test.scala | ||
-> test:test | ||
-> testFull | ||
|
||
> clean | ||
$ delete src/ | ||
$ copy-file changes/ClassFailModuleFail.scala src/test/scala/Test.scala | ||
-> test:test | ||
-> testFull | ||
|
||
> clean | ||
$ delete src/ | ||
$ copy-file changes/ClassSuccessModuleFail.scala src/test/scala/Test.scala | ||
-> test:test | ||
-> testFull | ||
|
||
|
||
> clean | ||
$ delete src/ | ||
$ copy-file changes/ClassSuccessModuleSuccess.scala src/test/scala/Test.scala | ||
> test:test | ||
> testFull |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5" | ||
ThisBuild / scalaVersion := "2.12.19" | ||
scalaVersion := "2.12.19" | ||
libraryDependencies += scalatest | ||
Test / testOptions += Tests.Argument("-C", "custom.CustomReporter") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|
||
> clean | ||
|
||
> test | ||
> testFull | ||
|
||
$ exists target/SuiteStarting-TestSpec | ||
|
||
|