Hi @aleksey.tomin
Is there an easy way to disconnect from ConfigFactory to test later your code (is it an interface)? Is Ktor providing with a way to mock that config? Static calls are not that good when talking about testing.
👍 1
a
aleksey.tomin
11/25/2020, 9:07 AM
You can create
application.conf
in
test
directory
👍 1
j
Jorge R
11/25/2020, 9:15 AM
Ok, that could work as well. Pointing to an environment can be done using the config recovered, so all the test scenarios can be recreated after.