Kotlin Tests

Open-source Kotlin projects categorized as Tests

Top 23 Kotlin Test Projects

  • mockk

    mocking library for Kotlin

    Project mention: mockk VS mockative - a user suggested alternative | libhunt.com/r/mockk | 2022-11-09
  • Kotest

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

    Project mention: Are there any plans to make a better build system for Kotlin than Gradle? | reddit.com/r/Kotlin | 2022-09-17
  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • mockito-kotlin

    Using Mockito with Kotlin

    Project mention: Spring with java vs Spring with kotlin | reddit.com/r/Kotlin | 2022-09-15

    What's wrong with Mockito for Kotlin?

  • spek

    A specification framework for Kotlin

  • Kluent

    Fluent Assertion-Library for Kotlin

  • fakeit

    The Kotlin fake data generator library! (by moove-it)

  • strikt

    An assertion library for Kotlin

    Project mention: Which assertion library do you use? | reddit.com/r/Kotlin | 2022-07-12

    Has anyone compared Strikt with AssertK? I'm especially interested in the number of matchers.

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

  • atrium

    A multiplatform assertion library for Kotlin

  • hamkrest

    Hamcrest for Kotlin

    Project mention: Which assertion library do you use? | reddit.com/r/Kotlin | 2022-07-12

    Then you should give Hamkrest a try

  • kotlin-faker

    https://serpro69.github.io/kotlin-faker/ Generate realistically looking fake data such as names, addresses, banking details, and many more, that can be used for testing and data anonymization purposes.

    Project mention: Datafaker: An Alternative to Using Production Data | reddit.com/r/java | 2022-05-23

    Lately, I've also tried https://github.com/serpro69/kotlin-faker which has a very convenient unique value generation for all fake data providers.

  • hikaku

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

  • expekt

    BDD assertion library for Kotlin

  • KotlinSnapshot

    Snapshot Testing framework for Kotlin.

  • minutest

    Simple, Expressive, Extensible Testing for Kotlin on the JVM

  • Elmyr

    A utility to make Kotlin/Java tests random yet reproducible

  • balin

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

  • kompile-testing

    Testing tools for kotlinc and kapt

  • SeleniumBuilder

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

  • arbitrater

    Arbitrater is a Kotlin library for creating arbitrary instances of classes by reflection for use in testing. In contrast to POJO generators, it supports Kotlin's optional parameters and nullable types.

  • TestIt

    Generate unit testing boilerplate from kotlin files.

  • aspen

    Aspen is a simple test runner for Kotlin that allows you to write tests using your own DSL.

  • RandomGenKt

    Kotlin port of RandomGen

  • konsent

    An acceptance test library for Kotlin

  • Zigi

    The context switching struggle is real. Zigi makes context switching a thing of the past. It monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack!

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). The latest post mention was on 2022-11-09.

Kotlin Tests related posts

Index

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

Project Stars
1 mockk 4,728
2 Kotest 3,722
3 mockito-kotlin 2,951
4 spek 2,199
5 Kluent 809
6 fakeit 517
7 strikt 445
8 atrium 436
9 hamkrest 332
10 kotlin-faker 295
11 hikaku 183
12 expekt 170
13 KotlinSnapshot 157
14 minutest 99
15 Elmyr 79
16 balin 70
17 kompile-testing 69
18 SeleniumBuilder 50
19 arbitrater 37
20 TestIt 34
21 aspen 33
22 RandomGenKt 28
23 konsent 25
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
www.sonarlint.org