Is there an easy way to skip a whole test class ba...
# kotest
b
Is there an easy way to skip a whole test class based on an environment variable? I looked at SkipTestException but it doesn't seem to be available anymore (Docs might need to be updated).
l
You can use an extension to do it, probably
personally, I just comment the whole class 🤣
s
SkipTest should still be there
I think we need some kind of specIsActive function
b
I ended up using
defaultTestConfig = TestCaseConfig(enabled = isEnabled)
and that seems to achieve what I needed.
In JUnit I was using
@EnabledOnEnvironment
and that was a pretty clear way of representing it.