Extensions
Kotest integrates with many other libraries and frameworks. Some are provided by the Kotest team, and others are maintained and hosted by third parties.
Kotest Team Extensions​
Project | Description |
---|---|
Allure | Provides output for the allure framework |
HTML Reporter | Generates HTML reports of test results based on JUnit XML |
Instant | Override the 'now' context in java.time |
JUnit XML | Provides output in the JUnit XML format for integration with reporting tools |
Ktor | Provides matchers for Ktor endpoints |
Koin | Kotlin DI framework |
Mockserver | Integrate mockserver HTTP servers with the test lifecycle |
Spring | Adds support for spring beans in tests and spring test annotations |
System | Provides utilities for integrating with System.* functions |
Testcontainers | Run docker images as part of a test lifecycle |
Wiremock | Provides a mock HTTP server. Project homepage here. |
Third Party Extensions​
Project | Description |
---|---|
Android | Toolbox for working with Kotest and Android |
Fluentlenium | FluentLenium integration with Kotest |
H2 Database Extension | H2 Database integration with Kotest |
Http4k | Functional toolkit for Kotlin HTTP applications |
Kotless | Utilties for kotless and kotest |
KotlinFaker | Kotlin-faker data generation extensions for Kotest Property Testing |
KotlinFixture | generate well-defined, but essentially random, input |
LogCapture | LogCapture is a testing library for asserting logging messages |
Micronaut | JVM-based, full-stack framework for building modular, easily testable microservice |
Result4s | Result4s matchers |
Selfie | Snapshot testing (inline, disk, and memoization) |
Sniffy | Network connectivity testing |
TestFiles | Creates organized files and directories for testing |