Link Search Menu Expand Document

How to test write an end to end test

You can start the server in the test, call routes and make assertions, then you can stop the server. Extension method http is provided by Topinambur.

import topinambur.http

fun `say hello`() {
        .get("/*") { _, res -> res.write("Hello") }
        .start().use {

An Open Source Project