Kotlin Tests

Open-source Kotlin projects categorized as Tests

Top 23 Kotlin Test Projects

  1. mockk

    mocking library for Kotlin

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. Kotest

    Powerful, elegant and flexible test framework for Kotlin with assertions, property testing and data driven tests.

    Project mention: Ultimate Kotlin Cheatsheet | dev.to | 2025-03-29

    Kotest - Testing framework

  4. mockito-kotlin

    Using Mockito with Kotlin

  5. spek

    A specification framework for Kotlin (by spekframework)

  6. atrium

    A multiplatform expectation library for Kotlin

  7. strikt

    An assertion library for Kotlin

  8. fakeit

    The Kotlin fake data generator library! (by thisisqubika)

  9. InfluxDB

    InfluxDB โ€“ Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. kotlin-faker

    Port of a popular ruby faker gem written in kotlin. Generate realistically looking fake data such as names, addresses, banking details, and many more, that can be used for testing and data anonymization purposes.

  11. prognoza

    Libre weather app with widgets and offline support

  12. hamkrest

    Hamcrest for Kotlin

  13. hikaku

    A library that tests if the implementation of a REST-API meets its specification.

  14. expekt

    BDD assertion library for Kotlin

  15. KotlinSnapshot

    Snapshot Testing framework for Kotlin.

  16. minutest

    Simple, Expressive, Extensible Testing for Kotlin on the JVM

  17. Elmyr

    A utility to make Kotlin/Java tests random yet reproducible

  18. selfie

    Snapshot testing for Java, Kotlin, and the JVM (by diffplug)

  19. balin

    Balin is an automation library for Kotlin. It's basically a Selenium-WebDriver wrapper inspired by Geb.

  20. kompile-testing

    Testing tools for kotlinc and kapt

  21. SeleniumBuilder

    Kotlin DSL for Selenium. Provide a possibility to write tests in Kotlin type-safe builders style

  22. TestIt

    Generate unit testing boilerplate from kotlin files.

  23. RandomGenKt

    Kotlin port of RandomGen

  24. konsent

    An acceptance test library for Kotlin

  25. DynaTest

    Simplest & Powerful Testing Framework For Kotlin. No annotations!

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Kotlin Tests discussion

Log in or Post with

Kotlin Tests related posts

  • For those DAO, Services, how about using static objects with mockk for test

    1 project | /r/u_Fun_Indication4997 | 8 Dec 2023
  • AocKt: Test-driven Advent of Code in Kotlin

    3 projects | /r/Kotlin | 29 Nov 2023
  • Tests Everywhere - Kotlin

    4 projects | dev.to | 23 Nov 2023
  • SeleniumBuilder

    1 project | /r/Kotlin | 2 Nov 2023
  • Evolution of unit tests in Android

    3 projects | dev.to | 22 Oct 2023
  • ๐Ÿงช **Demystifying Kotlin Unit Testing**: Your Odyssey to Code Confidence! ๐Ÿš€

    3 projects | dev.to | 27 Aug 2023
  • Best practices for Unit Testing Android Apps with Mockk, Kotest and others

    5 projects | dev.to | 10 May 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 17 Jul 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more โ†’

Index

What are some of the best open-source Test projects in Kotlin? This list will help you:

# Project Stars
1 mockk 5,600
2 Kotest 4,616
3 mockito-kotlin 3,143
4 spek 2,225
5 atrium 616
6 strikt 602
7 fakeit 538
8 kotlin-faker 490
9 prognoza 395
10 hamkrest 344
11 hikaku 199
12 expekt 171
13 KotlinSnapshot 166
14 minutest 106
15 Elmyr 84
16 selfie 76
17 balin 72
18 kompile-testing 70
19 SeleniumBuilder 55
20 TestIt 45
21 RandomGenKt 38
22 konsent 29
23 DynaTest 21

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io