Implement new 'mix' test mode
This mode must be used when one configuration will run several tests for different JUnit versions.
This commit is contained in:
@@ -60,7 +60,7 @@ if (kotlinBuildProperties.isInJpsBuildIdeaSync) {
|
||||
}
|
||||
}
|
||||
|
||||
projectTest(parallel = true, jUnit5Enabled = true) {
|
||||
projectTest(parallel = true, jUnitMode = JUnitMode.JUnit5) {
|
||||
workingDir = rootDir
|
||||
jvmArgs!!.removeIf { it.contains("-Xmx") }
|
||||
maxHeapSize = "3g"
|
||||
|
||||
@@ -51,7 +51,7 @@ sourcesJar()
|
||||
javadocJar()
|
||||
testsJar()
|
||||
|
||||
projectTest(parallel = true, jUnit5Enabled = true) {
|
||||
projectTest(parallel = true, jUnitMode = JUnitMode.JUnit5) {
|
||||
workingDir = rootDir
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ sourcesJar()
|
||||
|
||||
testsJar()
|
||||
|
||||
projectTest(jUnit5Enabled = true) {
|
||||
projectTest(jUnitMode = JUnitMode.JUnit5) {
|
||||
useJUnitPlatform()
|
||||
dependsOn(parcelizeRuntimeForTests)
|
||||
dependsOn(":dist")
|
||||
|
||||
Reference in New Issue
Block a user