mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-16 19:05:02 -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 {
|
||||
suites {
|
||||
|
||||
val test by getting(JvmTestSuite::class) {
|
||||
getting(JvmTestSuite::class) {
|
||||
testType.set(TestSuiteType.UNIT_TEST)
|
||||
useJUnitJupiter("5.9.1")
|
||||
|
||||
@ -174,7 +173,7 @@ testing {
|
||||
}
|
||||
|
||||
|
||||
val integrationTest by registering(JvmTestSuite::class) {
|
||||
registering(JvmTestSuite::class) {
|
||||
testType.set(TestSuiteType.INTEGRATION_TEST)
|
||||
useTestNG("7.6.1")
|
||||
|
||||
@ -211,7 +210,7 @@ testing {
|
||||
val options = this as TestNGOptions
|
||||
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)
|
||||
useTestNG("7.6.1")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user