
About Kotest
Kotest is a test framework for Kotlin. It runs on several Kotlin targets, including the JVM, JavaScript and native platforms.
What it does
Kotest lets you write tests in several styles, with nested test blocks and test names written as sentences. It includes an assertions library with hundreds of checks, and a property testing module that generates many inputs to check your code. Coroutines are supported at every level of a test, so async code is easy to test.
Key features
- Several test styles with unlimited nesting
- Over 350 assertions for Kotlin values and collections
- Property tests with generators and failure shrinking
- Coroutine support at every level of a test
- Parameterized and data-driven test helpers
Who it's for
Kotlin developers who want expressive tests and built-in assertions. Teams with multiplatform projects may like its support for several Kotlin targets.
Pricing and good to know
Kotest is free and open source under the Apache-2.0 license. It works with Gradle through the standard Kotlin tooling. The project offers an IntelliJ plugin, community channels, and third party extensions for frameworks such as Spring and Koin.
Highlights
- Several test styles with unlimited nesting
- Over 350 assertions for Kotlin values and collections
- Property tests with generators and failure shrinking
- Coroutine support at every level of a test
- Parameterized and data-driven test helpers












