Join Slack
Powered by
When you create a new project in Intellij through ...
# ktor
g
guyheylens
05/02/2019, 3:22 PM
When you create a new project in Intellij through the ktor plugin I saw that in the Application.Module there is a default parameter testing assigned to false. What is the purpose of this parameter?
Application_module_parameter.kt
d
Dennis Schröder
05/03/2019, 11:13 AM
You can use it to change
things
that should be diff when running the application from the test side.
Copy code
if (testing) { connectDB = TestDBConnection() }
For example.
👍 1
2
Views
Open in Slack
Previous
Next