https://kotlinlang.org logo
Title
j

jaguililla

07/19/2020, 9:11 AM
1. I’m developing a small change in the Kotest settings to allow controlling the case on tests’ names. How can I force settings values on the tests to test each scenario?
s

sam

07/19/2020, 9:39 PM
Depends where you are putting the settings. If you are adding something to Project config so it can be applied globally, then you can just set this before you run your test class, and unset it again after
j

jaguililla

07/19/2020, 10:55 PM
Could you please point me to some test in which this is done (applying a setting before the test, and resetting after), please? Thanks!
In that test I register an extension for tags, and unregister it at the end
So anything along those lines works
j

jaguililla

07/19/2020, 11:06 PM
Thank you very much!
👍🏻 1