runTest

fun Koject.runTest(builder: KojectBuilder.() -> Unit = {}, doNotUse: DoNotUse = DoNotUse, block: () -> Unit)

Runs Koject application testing

Koject.startTest is called before execution of block and Koject.stop is called after execution.

Will be replaced by automatic code generation. Not actually called.

Parameters

builder

Configurations to start.

doNotUse

Do not use! It's a hack to overwrite with generated code.

block

Test content.