OSS Tanbou

combine spec styles, assertions, and property testing across Kotlin projects

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
4,789
Primary language
Kotlin
License
Apache-2.0
Repository last updated
Sep 28, 2026
On this page

Overview

Kotest is a Kotlin testing framework that combines multiple spec styles, rich matchers, property testing, and data-driven testing. On the JVM it integrates with JUnit Platform, and it also supports Kotlin Multiplatform targets including JS, Native, and Wasm.

Features and best fit

Based on official documentation; not hands-on tested · Content checked:

Key features

Write Kotlin tests with selectable spec styles and rich matchers

Styles such as FunSpec and StringSpec structure tests while matchers such as shouldBe provide assertions within the same ecosystem.

Sources: [2][3]

Extend into property testing and Multiplatform targets

Adding kotest-property enables generators and shrinking, while JS, Native, and Wasm setups use the framework engine with KSP and the Kotest Gradle plugin.

Sources: [3]

Best fit

Fits Kotlin teams that want consistent testing conventions

It is useful when unit, data-driven, and property tests should share one DSL and matcher set across JVM and multiplatform codebases.

Sources: [2][3]

Before adoption

Keep Kotest modules aligned on 6.2.5

Runner, assertion, and property modules should stay on the same Kotest release line to avoid runtime compatibility problems.

Sources: [3][4]

Check the Kotest 6.x toolchain baseline first

The setup reference lists Kotlin 2.2+, JDK 11+, and Gradle 8.0+ as minimums, with KSP required for JS, Native, and Wasm targets.

Sources: [3]

Official sources

  1. [1]kotest/kotest repository(2026-09-30)
  2. [2]Kotest README(2026-09-30)
  3. [3]Kotest 6.2.5 setup reference(2026-09-30)
  4. [4]Kotest v6.2.5 release(2026-09-30)
  5. [5]Kotest Apache 2.0 license(2026-09-30)
Supplemental curator note

Kotest 6.2.5 is a comprehensive Kotlin testing framework. JVM projects commonly combine the JUnit Platform runner with Kotest assertions and optionally property testing. Kotest 6.x requires Kotlin 2.2+, JDK 11+, and Gradle 8+, so the existing toolchain should be checked first.

Try it in 3 steps

  1. 1

    Add the Kotest 6.2.5 runner and assertions

    Add the JVM runner and matcher module on the same version and enable useJUnitPlatform() for Gradle tests.

    testImplementation("io.kotest:kotest-runner-junit5:6.2.5") testImplementation("io.kotest:kotest-assertions-core:6.2.5")
  2. 2

    Create one StringSpec

    Import StringSpec and shouldBe, then create a minimal Kotest specification.

    class MathTest : StringSpec({ "1 + 1" { 1 + 1 shouldBe 2 } })
  3. 3

    Run the test task

    Verify that the Kotest spec is discovered and executed through JUnit Platform.

    ./gradlew test
Check the official README

Growth

Growth trends · Last 30 days

4,789 Stars

Trend data is still being collected.

Built with

Categories and tags

GitHub data

GitHub dataView detailed GitHub data

GitHub Topics

  • assertions
  • kotlin
  • kotlin-js
  • kotlin-multiplatform
  • matchers
  • multiplatform
  • property-testing
  • test
  • testing
  • testing-tools
Stars
4,789
Forks
703
Watchers
51
Open issues
49
Owner type
Organization
Primary language
Kotlin
License
Apache-2.0
Repository last updated
Sep 28, 2026
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.

After reading this page, do you know what to do next?