[K/N][tests] Move stress tests into a separate project

This commit is contained in:
Alexander Shabalin
2024-03-07 09:56:59 +01:00
committed by Space Team
parent 60d425e2c7
commit aee87468a6
11 changed files with 142 additions and 26 deletions
@@ -0,0 +1,28 @@
plugins {
kotlin("jvm")
}
dependencies {
testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter.api)
testRuntimeOnly(libs.junit.jupiter.engine)
testImplementation(projectTests(":native:native.tests"))
}
sourceSets {
"main" { none() }
"test" {
projectDefault()
generatedTestDir()
}
}
testsJar {}
nativeTest(
"test",
null,
requirePlatformLibs = true,
allowParallelExecution = false, // Stress tests are resource-intensive tests and they must be run in isolation.
)