mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-17 03:15:35 -04:00
make integration tests run after unit tests
This commit is contained in:
parent
6ea2db1f79
commit
c85b73c793
@ -133,8 +133,7 @@ when (os) {
|
|||||||
|
|
||||||
testing {
|
testing {
|
||||||
suites {
|
suites {
|
||||||
|
getting(JvmTestSuite::class) {
|
||||||
val test by getting(JvmTestSuite::class) {
|
|
||||||
testType.set(TestSuiteType.UNIT_TEST)
|
testType.set(TestSuiteType.UNIT_TEST)
|
||||||
useJUnitJupiter("5.9.1")
|
useJUnitJupiter("5.9.1")
|
||||||
|
|
||||||
@ -174,7 +173,7 @@ testing {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
val integrationTest by registering(JvmTestSuite::class) {
|
registering(JvmTestSuite::class) {
|
||||||
testType.set(TestSuiteType.INTEGRATION_TEST)
|
testType.set(TestSuiteType.INTEGRATION_TEST)
|
||||||
useTestNG("7.6.1")
|
useTestNG("7.6.1")
|
||||||
|
|
||||||
@ -211,7 +210,7 @@ testing {
|
|||||||
val options = this as TestNGOptions
|
val options = this as TestNGOptions
|
||||||
options.preserveOrder = true
|
options.preserveOrder = true
|
||||||
}
|
}
|
||||||
shouldRunAfter(test)
|
shouldRunAfter("test")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -221,7 +220,7 @@ testing {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val benchmarkTest by registering(JvmTestSuite::class) {
|
registering(JvmTestSuite::class) {
|
||||||
testType.set(TestSuiteType.PERFORMANCE_TEST)
|
testType.set(TestSuiteType.PERFORMANCE_TEST)
|
||||||
useTestNG("7.6.1")
|
useTestNG("7.6.1")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user