Join Slack
Powered by
Why is <development mode enabled in tests> instead...
# ktor
e
Emre
03/26/2025, 8:21 PM
Why is
development mode enabled in tests
instead of using whatever it is set to in the environment, config file, or JVM?
a
Aleksei Tirman [JB]
03/27/2025, 7:31 AM
Because of an assumption that the test environment is a development environment. What problems does it cause for you?
e
Emre
03/27/2025, 12:51 PM
Because the development environment removes some guardrails, whereas tests are written to simulate production.
a
Aleksei Tirman [JB]
03/27/2025, 1:04 PM
Do you mean that you use the development mode as a flag to lose some constraints?
2
Views
Open in Slack
Previous
Next