Despite potentially looking like a complete buffoon, anyone have ideas about why I can’t seem to get the configuration logging to work correctly? I just bumped to
5.0.2
and am set the system property
kotest.framework.dump.config=true
in my
gradle.properties
but I am not seeing anything in the logs like I used to (prior to the jump to 5+).
Is there another way to check the configuration at runtime?
* Not a contribution *
s
sam
12/10/2021, 9:45 PM
How are you setting the property
sam
12/10/2021, 9:45 PM
gradle can be a bit weird about passing it through when it forks the jvm for tests
j
James Eschner
12/10/2021, 9:52 PM
I first tried setting
kotest.framework.dump.config=true
directly in the
gradle.properties
file. Then when that didn’t work I tried passing it in via both the
-P
and
-D
flags on the command line (I was looking at these gradle docs)
s
sam
12/10/2021, 9:53 PM
Try something like this
Copy code
test {
systemProperty "kotest.framework.dump.config", "true"
}