withTestApplication
fun <R> withTestApplication(moduleFunction: Application.() -> Unit, test: TestApplicationEngine.() -> R): R
Content copied to clipboard
fun <R> withTestApplication(moduleFunction: Application.() -> Unit, configure: TestApplicationEngine.Configuration.() -> Unit = {}, test: TestApplicationEngine.() -> R): R
Content copied to clipboard
Start test application engine, pass it to test function and stop it