alex.krupa
AbstractProjectConfig
object KotestConfig : AbstractProjectConfig() { override val isolationMode = IsolationMode.InstancePerLeaf } class KotestConfigSpec : StringSpec({ "uses leaf isolation mode" { assertEquals(IsolationMode.InstancePerLeaf, isolationMode()) } })
io.kotest:kotest-runner-junit5-jvm
kotest.properties
christophsturm
Returns the IsolationMode to be used by the test engine when running tests in this spec. If null, then the project default is used.
IsolationMode
sam
private fun Spec.resolvedIsolationMode() = this.isolationMode() ?: this.isolationMode ?: configuration.isolationMode
Spec.isolationMode
A modern programming language that makes developers happier.