awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

Kotlin Testing Frameworks

Ranking updated Jul 13, 2026

For a testing framework for Kotlin projects, the first results are kotest/kotest (Kotest is a comprehensive, idiomatic testing framework for Kotlin that natively supports DSL-based testing, property-based testing, and multiplatform execution, making it a flagship solution for the ecosystem), junit-team/junit-framework (This is the foundational platform for running tests on the JVM, providing the essential infrastructure that Kotlin testing frameworks use to integrate with build tools and IDEs) and spekframework/spek (Spek is a specification framework for Kotlin that provides a DSL-based approach to behavior-driven development, making it a specialized tool for testing within the Kotlin ecosystem). junit-team/junit5 and assertj/assertj round out the shortlist. Compare the match explanations and check the project documentation against your requirements.

We curate open-source GitHub repositories matching “best kotlin testing frameworks”. Results are ranked by relevance to your query — pick filters below to narrow, or refine with AI.

Kotlin Testing Frameworks

Find the best repos with AI.We'll search the best matching repositories with AI.
  • kotest/kotestkotest avatar

    kotest/kotest

    4,785View on GitHub↗

    Kotest is a comprehensive testing framework for Kotlin designed for writing and executing tests across various styles and platforms. It serves as a multiplatform test runner and a fluent assertion library, providing a toolset for both unit and integration testing in Kotlin applications. The framework supports multiple testing methodologies, including behavior-driven development with nested test hierarchies, property-based testing using automated data generation, and data-driven testing. It also includes snapshot testing to detect regressions by comparing current outputs against stored referen

    Kotest is a comprehensive, idiomatic testing framework for Kotlin that natively supports DSL-based testing, property-based testing, and multiplatform execution, making it a flagship solution for the ecosystem.

    KotlinFluent AssertionsKotlin Multiplatform Test RunnersProperty-Based Testing
    View on GitHub↗4,785
  • junit-team/junit-frameworkjunit-team avatar

    junit-team/junit-framework

    7,032View on GitHub↗

    This project is a JVM testing framework that provides a foundation for defining and running automated tests using a pluggable engine architecture. It functions as a JVM test orchestrator and a modular test engine API, allowing multiple testing engines to be grouped and executed as a single coordinated unit. The framework includes a platform launcher for discovering and executing test suites from build systems, integrated development environments, or the command line. It enables the creation of custom testing frameworks through a standardized interface that integrates into a shared execution p

    This is the foundational platform for running tests on the JVM, providing the essential infrastructure that Kotlin testing frameworks use to integrate with build tools and IDEs.

    JavaMulti-Engine ExecutionSoftware TestingParallel Test Execution
    View on GitHub↗7,032
  • spekframework/spekspekframework avatar

    spekframework/spek

    2,221View on GitHub↗

    A specification framework for Kotlin

    Spek is a specification framework for Kotlin that provides a DSL-based approach to behavior-driven development, making it a specialized tool for testing within the Kotlin ecosystem.

    KotlinKotlin Libraries
    View on GitHub↗2,221
  • junit-team/junit5J

    junit-team/junit5

    0View on GitHub↗

    JUnit 5 is the foundational testing framework for the JVM and Kotlin ecosystem, providing the core integration and execution engine required for unit and integration testing.

    Android Libraries
    View on GitHub↗0
  • assertj/assertjassertj avatar

    assertj/assertj

    2,827View on GitHub↗

    AssertJ is a Java assertion library and fluent interface testing framework. It provides a toolkit for verifying object states using a chainable syntax designed to make test assertions descriptive and readable. The library functions as a type-specific Java verifier, offering specialized assertion methods for strings, collections, maps, and complex object graphs. It utilizes type-specific assertion classes to provide validation methods relevant to the specific data structure being tested. The framework covers a broad range of quality assurance capabilities, including object state verification

    This is a Java-centric assertion library that can be used in Kotlin projects, but it is a single-aspect building block for assertions rather than a comprehensive testing framework designed for the Kotlin ecosystem.

    JavaFluent Assertion ChainingFluent AssertionsFluent Assertions
    View on GitHub↗2,827
  • schemathesis/schemathesisschemathesis avatar

    schemathesis/schemathesis

    3,055View on GitHub↗

    Schemathesis is a property-based testing tool and fuzzer for schema-based APIs. It analyzes OpenAPI and JSON Schema specifications to automatically generate test cases that identify crashes, schema violations, and validation bypasses. The project functions as a contract validator and security scanner, verifying that a live server strictly adheres to its defined specifications. The framework distinguishes itself through stateful API testing, which chains multiple related requests together to uncover bugs that only emerge during complex, multi-step user workflows. It also utilizes response-driv

    This is a Python-based API fuzzer and contract testing tool, which does not provide the Kotlin-specific unit or integration testing framework capabilities requested.

    PythonProperty-Based TestingTest Case Generators
    View on GitHub↗3,055
  • mockito/mockitomockito avatar

    mockito/mockito

    15,432View on GitHub↗

    Mockito is a Java mocking framework and JUnit testing library used to create simulated objects and stub method calls to isolate components during unit tests. It functions as a dynamic proxy generator and bytecode instrumentation tool, allowing for the creation of runtime substitutes that mimic the behavior of real classes. The framework distinguishes itself by providing the ability to mock final classes and methods, bypassing standard language restrictions through bytecode modification. This capability enables the testing of legacy code that lacks interfaces. The toolset covers behavioral mo

    This is a Java-centric mocking library that can be used in Kotlin projects, but it is not a Kotlin-native testing framework designed to provide the requested DSL-based testing or multiplatform support.

    JavaMocking Frameworks
    View on GitHub↗15,432
  • dubzzz/fast-checkdubzzz avatar

    dubzzz/fast-check

    4,778View on GitHub↗

    fast-check is a property-based testing framework and random data generator designed to verify software invariants by producing a wide range of randomized input data. It functions as a test data fuzzer that executes predicates against high volumes of random inputs to uncover edge cases and critical bugs. The project is distinguished by its ability to perform input-shrinking searches, which reduce complex failing inputs to their simplest form to isolate the exact cause of failure. It provides deterministic seed replay to exactly reproduce specific test failures and includes a concurrency testin

    This is a property-based testing framework built for the TypeScript ecosystem, making it a useful tool for testing logic but not a native Kotlin testing framework.

    TypeScriptProperty-Based TestingAsynchronous Property TestingGenerative Testing
    View on GitHub↗4,778
  • powermock/powermockpowermock avatar

    powermock/powermock

    4,174View on GitHub↗

    Powermock is a Java mocking framework and unit testing tool that uses bytecode manipulation to mock static methods, final classes, and private constructors. It includes a Java agent instrumentation tool and a reflection-based testing utility to bypass encapsulation and modify class behavior at runtime. The project distinguishes itself by providing the ability to intercept the instantiation of objects via the new keyword and simulate the behavior of core Java system classes and native methods. It can override final modifiers on classes and methods and bypass signature restrictions for classes

    This is a Java-centric mocking library designed for legacy codebases, which lacks the Kotlin-specific DSLs and multiplatform support required for a modern Kotlin testing framework.

    JavaMocking Frameworks
    View on GitHub↗4,174
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
kotest/kotest4.8KKotlinApache-2.0Jun 18, 2026
junit-team/junit-framework7KJavaEPL-2.0Jun 22, 2026
spekframework/spek
2.2K
Kotlin
NOASSERTION
May 26, 2024
junit-team/junit50———
assertj/assertj2.8KJavaApache-2.0Jun 22, 2026
schemathesis/schemathesis3.1KPythonmitFeb 19, 2026
mockito/mockito15.4KJavaMITJun 15, 2026
dubzzz/fast-check4.8KTypeScriptmitFeb 21, 2026
powermock/powermock4.2KJavaApache-2.0Jan 3, 2024

Related searches

  • a testing framework for Java applications
  • a testing framework for Dart applications
  • a testing framework for Swift applications
  • a testing framework for Go applications
  • a testing framework for Rust projects
  • a curriculum for learning Kotlin
  • a library for building Kotlin CLI applications
  • an object relational mapping library for Kotlin