Tiago
03/18/2023, 9:00 PMparallelism
but no matter what the tests are still running sequentially 😕
could someone provide a working example of how to run multiples tests in parallel?
thanks 🙂kotest.framework.parallelism=10
kotest.framework.spec.concurrent=10
kotest.framework.test.concurrent=10
kotest.framework.isolation.mode=InstancePerLeaf
test:
class SomeTest : ExpectSpec({
expect("something") {
...
}
expect("another thing") {
...
}
})
Emil Kantis
03/18/2023, 9:16 PMTiago
03/18/2023, 9:37 PMkotest.framework.parallelism=10
kotest.framework.spec.concurrent=10
kotest.framework.test.concurrent=10
kotest.framework.isolation.mode=InstancePerLeaf
and using the configurations like:
init {
threads = 20
concurrency = 20
isolationMode = InstancePerTest
// tests ....
}
the tests are now running in parallel
but not the specs, they are still running in sequenceEmil Kantis
03/18/2023, 9:38 PMTiago
03/18/2023, 9:39 PM