christophsturm
val context = describe("ktor") { it("routing works") { val server = TestApplicationEngine(environment = createTestEnvironment { module { routing { route("/x") { route("/y") { get {} } } } } }) {}.apply { start() } expectThat(server.handleRequest(HttpMethod.Get, "/x/y").response.status()).isNotNull().get { isSuccess() }.isTrue() } }
dave08
A modern programming language that makes developers happier.