Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.
LeoColmanPublic archive

About

A collection of matchers and listeners to integrate the Kotest Testing framework and Kotless

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Repository files navigation

Kotest Kotless

Build GitHub Maven Central

Utilities to ease testing the Kotless framework with Kotest.

Using with Gradle

testImplementation("br.com.colman.kotest.kotless:kotest-kotless:{version}")

Kotless Listener

To start and stop the Kotless Local App (Currently only kotless-lang), add the KotlessListener to your listeners. From there you can access your kotless application normally:

listeners(KotlsListener(port = 8080))

test("My kotless test") {
    // Code that uses your HTTP service
    "http://localhost:8080/foo".httpGet().responseString().third.get() shouldBe """{"foo":"bar"}"""

}

Contributing

Feel free to open a pull request, or an issue for anything that you believe should be added to this utility.

Changelog

The changelog can be seen at the releases page

About

A collection of matchers and listeners to integrate the Kotest Testing framework and Kotless

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages