Kotest
kotest.io
- Free plan
- Windows
- macOS
- Linux
- Web
- iPhone and iPad
- Android
What Kotest is
Kotest is a free testing framework for Kotlin projects that run across JVM and Kotlin Multiplatform targets. It combines assertion tools, property testing, and expressive ways to organize test cases. Available styles include natural-language test names and unlimited nesting. Its DSL handles parameterized and data-driven tests, conditional evaluation, lifecycle callbacks, and parallel execution. The assertion library contains more than 350 matchers, collection inspectors, soft assertions, and utilities for non-deterministic code. Property testing can generate hundreds or thousands of inputs, and that framework works across all supported targets. Listed targets include JVM, JavaScript, Native systems such as Linux, Windows, iOS, and macOS, Wasm, plus Android unit and instrumented tests. Setup instructions cover Gradle, Maven, and Kotlin Multiplatform projects. Documented integrations include Spring, Koin, Ktor, Allure, Testcontainers, WireMock, and Micronaut. The Kotest IntelliJ plugin adds run icons, editor results, a test explorer, structure highlighting, and breadcrumbs. Its assertions can also be used with JUnit or Spock. Community help is available through Slack, GitHub, and Stack Overflow.
Who it suits
Kotest is for Kotlin developers testing JVM applications or Kotlin Multiplatform code across desktop, mobile, web, and other targets. It suits teams wanting property checks, parameterized cases, parallel execution, and flexible test styles.
Good to know, and what to watch
- Free framework, assertions library, and property testing projects
- More than 350 matchers and collection inspectors
- Property tests generate hundreds or thousands of inputs
- Supports parameterized, data-driven, and parallel tests
- Targets JVM, JavaScript, Native, Wasm, and Android
- IntelliJ plugin with test explorer and editor results
- Supports Kotlin only
- Built-in mocks are not included
- Requires project setup through Gradle, Maven, or Multiplatform
Plans
Every plan and priceKotest
Free plan
Getting started
- Open https://kotest.io/
- Add Kotest to a Gradle, Maven, or Kotlin Multiplatform project
- Choose the required test style and assertion modules
- Run tests on JVM, JavaScript, Native, Wasm, or Android targets
- Optionally install the Kotest IntelliJ plugin
The verdict
Pick Kotest for a free Kotlin testing stack with broad targets, expressive styles, and property-based checks. Consider another tool if you need built-in mocking or support for languages beyond Kotlin.
Questions people ask
How much does Kotest cost?
Kotest is free. Its framework, assertions library, and property testing are standalone projects that can be used independently.
Which platforms can Kotest test?
Listed targets include JVM, JavaScript, Native systems such as Linux, Windows, iOS, and macOS, Wasm, and Android unit and instrumented tests.
Can Kotest run parameterized and parallel tests?
Yes. Its DSL supports parameterized and data-driven tests, conditional evaluation, lifecycle callbacks, and parallel execution.
Can its assertions work with other frameworks?
Yes. The assertions library can be used with Kotest or another framework such as JUnit or Spock.
What the maker publishes
- Assertions
- Kotest provides over 350 matchers, plus collection inspectors, soft assertions and utilities for non-deterministic code. source
- Audience
- Kotest is intended for Kotlin projects that need testing on JVM and Kotlin Multiplatform targets. source
- Build support
- The quick start gives setup instructions for Gradle, Maven and Kotlin Multiplatform projects. source
- IDE support
- The Kotest IntelliJ plugin provides test run icons, results in the editor, a test explorer, structure highlighting and breadcrumbs. source
- Integrations
- Documented integrations include Spring, Koin, Ktor, Allure, Testcontainers, WireMock and Micronaut. source
- Platform support
- The site lists JVM, JavaScript, Native targets including Linux, Windows, iOS and macOS, Wasm, and Android unit and instrumented tests. source
- Property testing
- Property tests can generate hundreds or thousands of inputs, and the property testing framework is supported on all targets. source
- Security and compliance
- The opened Kotest pages do not state security certifications or compliance claims. source
- Support
- The project links to community support on Slack, GitHub and Stack Overflow. source
- Test execution
- Its DSL supports parameterized and data driven tests, conditional evaluation, lifecycle callbacks and parallelism. source
- Test styles
- The framework offers multiple test styles, including natural language test names and unlimited nesting. source
- Use with other frameworks
- The assertions library can be used with Kotest or another test framework such as JUnit or Spock. source
- What it does
- Kotest is a multiplatform Kotlin testing framework with assertions, property testing and expressive test styles. source
Checked against the maker's pages on 2 Oct 2026.