1. I’m developing a small change in the Kotest set...
# kotest
j
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
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
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
Thank you very much!
👍🏻 1