<Can you specify enabled condition for all test in...
# stackoverflow
u
Can you specify enabled condition for all test in spec in Kotest 5? Before Kotest 5.0, you could apply a default test config to set some properties, like if the tests are enabled or what the timeout is. Kotest 4 class DbTests : StringSpec() { override val defaultTestCaseConfig: TestCaseConfig = TestCaseConfig(enabled = !IS_CI, timeout = 24.hours) init { "test1" { ... } "test2" { ... } } } However, since Kotest 5, the defaultTestCaseConfig syntax has been deprecated <a...