Björn Mayer (aqab0N)
04/15/2024, 8:30 AMtesting {
suites {
val test by getting(JvmTestSuite::class) {
targets {
all {
testTask.configure {
exclude("*KarateTest")
}
}
}
}
register<JvmTestSuite>("karateTests") {
testType = TestSuiteType.INTEGRATION_TEST
dependencies {
implementation(projects.libraries.test.karate)
}
sources {
kotlin {
setSrcDirs(listOf("src/karateTests/kotlin"))
}
}
targets {
all {
testTask.configure {
exclude("**", "*.*", "*", "*/*", "**/**", "*/**", "**/*")
include("*KarateTest")
}
}
}
}
}
}
I try to execute the one test with the karateTests
taskVampire
04/15/2024, 8:53 AMTest
that you configure.
But I'd like to ask you the same I asked Hantsy.
Can you maybe knit an MCVE that demoes the problem?Björn Mayer (aqab0N)
04/15/2024, 8:53 AMBjörn Mayer (aqab0N)
04/15/2024, 9:19 AMtasks.withType<Test>().configureEach {
// (...)
}
I moved this configuration into the test suite conf and et voila. It worksVampire
04/15/2024, 9:58 AM