Hello, just checking out kotest and so far really ...
# kotest
t
Hello, just checking out kotest and so far really liking it ­čÖĆ What is the defacto way for loading environment variables when using intellij with the kotest plugin? For comparison, with JUnit + Gradle I set the enviroment inside build.gradle.kts
withType<Test> { envirnment("KEY", value) ... }
. Since many of my tests required env variables, I think I need to use the
SystemEnvironmentTestListener
and then use that in each of my tests. Is this the common approach or have I missed something?