Kotlin Testing

Open-source Kotlin projects categorized as Testing | Edit details

Top 23 Kotlin Testing Projects

  • GitHub repo Kotest

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

    Project mention: ¿Es Validated un Applicative? | dev.to | 2021-11-19
  • GitHub repo spek

    A specification framework for Kotlin

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo kotlin-sample-app

    📚 Sample Android Components Architecture on a modular word focused on the scalability, testability and maintainability written in Kotlin, following best practices using Jetpack.

    Project mention: I'm looking for a good sample codebase to review/learn from that uses MVVM, live data, compose and either dagger or hilt. Any suggestions? | reddit.com/r/androiddev | 2021-04-04

    This full featured example app on modular architecture is quite awesome. I learned a lot from it. https://github.com/VMadalin/android-modular-architecture

  • GitHub repo NotyKT 🖊️

    📒 NotyKT is a complete 💎Kotlin-stack (Backend + Android) 📱 application built to demonstrate the use of Modern development tools with best practices implementation🦸.

    Project mention: Observing Live connectivity status in Jetpack Compose way! | reddit.com/r/androiddev | 2021-08-17

    On a side note, I found the initial network check code a bit complex (and it contains a subtle bug), here's a PR for it https://github.com/PatilShreyas/NotyKT/pull/211

  • GitHub repo Pact JVM

    JVM version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.

    Project mention: API testing event driven systems | dev.to | 2021-09-18

    Consumer driven Contract testing: a type of contract testing that ensures that a provider is compatible with the expectations that the consumer has of it. It is the primary way to shift API testing left, and test the integration of apis/services prior to deploying them to a common environment. Pact is a well known framework on this matter.

  • GitHub repo Shot

    Screenshot testing library for Android

    Project mention: Best way to automate screen capture | reddit.com/r/androiddev | 2021-05-20

    - https://github.com/Karumi/Shot

  • GitHub repo Kluent

    Fluent Assertion-Library for Kotlin

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo skrape.it

    A Kotlin-based testing/scraping/parsing library providing the ability to analyze and extract data from HTML (server & client-side rendered). It places particular emphasis on ease of use and a high level of readability by providing an intuitive DSL. It aims to be a testing lib, but can also be used to scrape websites in a convenient fashion.

    Project mention: Skrape{It} | news.ycombinator.com | 2021-10-21
  • GitHub repo kotlin-power-assert

    Kotlin compiler plugin to enable diagrammed function calls in the Kotlin programming language

    Project mention: Kotlin Team AMA #3: Ask Us Anything | reddit.com/r/Kotlin | 2021-05-27

    Other examples are atomicfu and power assert (developed and maintained externally!), and we expect this list to grow even further.

  • GitHub repo strikt

    An assertion library for Kotlin

  • GitHub repo hamkrest

    Hamcrest for Kotlin

  • GitHub repo marathon

    Cross-platform test runner written for Android and iOS projects (by Malinskiy)

    Project mention: What are some of the best mobile testing tools for UI testing of Android apps? | reddit.com/r/androiddev | 2021-05-26

    Espresso to write the code, Marathon to run it.

  • GitHub repo 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.

  • GitHub repo EvoMaster

    The first open-source AI-driven tool for automatically generating system-level test cases (also known as fuzzing) for web/enterprise applications. Currently targeting whitebox and blackbox testing of REST APIs.

    Project mention: Experiences with automated unit testing generation tools? | reddit.com/r/softwaretesting | 2021-10-29

    if your Java project is a REST API, you can look at EvoMaster (https://github.com/EMResearch/EvoMaster) (DISCLAIMER: I am its author)

  • GitHub repo android-template

    Android app starter template (by blocoio)

    Project mention: Android Utility belt — Collection of dependencies for a greenfield project | dev.to | 2021-10-28

    I highly recommend using this template project for greenfield projects. From DI/logger to instrumentation test everything has been perfectly set up. Though, the network dependencies are not present in the template. So, look up below and add dependencies as you see fit.

  • GitHub repo android-testify

    Add screenshots to your Android tests

    Project mention: 25 Best Android Libraries, Projects, and Tools You Won’t Want to Miss Out in 2021 | dev.to | 2021-10-09

    22. Testify — Android Screenshot Testing

  • GitHub repo minutest

    Simple, Expressive, Extensible Testing for Kotlin on the JVM

  • GitHub repo aspen

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

  • GitHub repo 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.

  • GitHub repo DynaTest

    Simplest Most Powerful Testing Framework For Kotlin

  • GitHub repo save-cloud

    Cluster-based cloud mechanism for running SAVE framework and test diktat

    Project mention: Any Open Source projects that need help? | reddit.com/r/learnjava | 2021-06-08
  • GitHub repo idea-plugin-example

    JetBrains IDEA plugin pedagogical example w/ testing

    Project mention: Plugins | reddit.com/r/Jetbrains | 2021-05-11

    I started from this example: https://github.com/nazmulidris/idea-plugin-example Let me.know if this helps you

  • GitHub repo koncierge

    Kotlin lib to use in an AB testing service

    Project mention: Inspiraciones | dev.to | 2021-01-31

    GitHub :: koncierge 🔔: Necesitabamos segmentar clientes según un u otro atributo; entonces se me ocurrió que un DSL parecido al query-dsl de Mongo podría verse bien. Finalmente terminamos utilizando algo similar en produción!

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 2021-11-19.

Kotlin Testing related posts


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

Project Stars
1 Kotest 3,191
2 spek 2,141
3 kotlin-sample-app 2,030
4 NotyKT 🖊️ 976
5 Pact JVM 887
6 Shot 833
7 Kluent 761
8 skrape.it 429
9 kotlin-power-assert 408
10 strikt 379
11 hamkrest 325
12 marathon 311
13 kotlin-faker 206
14 EvoMaster 202
15 android-template 172
16 android-testify 166
17 minutest 97
18 aspen 32
19 arbitrater 31
20 DynaTest 19
21 save-cloud 13
22 idea-plugin-example 12
23 koncierge 0
Find remote jobs at our new job board 99remotejobs.com. There are 34 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives