Kotlin Tests

Open-source Kotlin projects categorized as Tests

Top 23 Kotlin Test Projects

  • mockk

    mocking library for Kotlin

    Project mention: For those DAO, Services, how about using static objects with mockk for test | /r/u_Fun_Indication4997 | 2023-12-08

    The official suggests using dagger/hilt to inject them. However, they could be static based on the static ApplicationContext. Although Dagger/hilt aids in unit testing, mockk can accomplish this easily as well by modifying bytecode during run time. As for the stability, `mockk` has 5000+ stars on GitHub and keeps renewing.

  • CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  • Kotest

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

    Project mention: AocKt: Test-driven Advent of Code in Kotlin | /r/Kotlin | 2023-11-29

    As you might know, Advent of Code will begin this Friday! If, like me, you want to have a go at solving the puzzles in Kotlin, I would like to share with you a little library I've developed to reduce boilerplate and solve the puzzles in a test-driven approach. It is based on Kotest, a modern and Kotlin-first test framework.

  • mockito-kotlin

    Using Mockito with Kotlin

  • spek

    A specification framework for Kotlin (by spekframework)

  • Kluent

    Fluent Assertion-Library for Kotlin

  • atrium

    A multiplatform expectation library for Kotlin

  • strikt

    An assertion library for Kotlin

  • SaaSHub

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

    SaaSHub logo
  • fakeit

    The Kotlin fake data generator library! (by thisisqubika)

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

  • prognoza

    Libre weather app with widgets and offline support

  • hamkrest

    Hamcrest for Kotlin

  • 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

  • selfie

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

  • TestIt

    Generate unit testing boilerplate from kotlin files.

  • RandomGenKt

    Kotlin port of RandomGen

  • konsent

    An acceptance test library for Kotlin

  • 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 - SaaSHub
    www.saashub.com | 5 Nov 2024
    SaaSHub helps you find the best software and product alternatives 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,435
2 Kotest 4,440
3 mockito-kotlin 3,110
4 spek 2,225
5 Kluent 867
6 atrium 566
7 strikt 555
8 fakeit 535
9 kotlin-faker 469
10 prognoza 375
11 hamkrest 344
12 hikaku 197
13 expekt 172
14 KotlinSnapshot 165
15 minutest 103
16 Elmyr 82
17 balin 72
18 kompile-testing 70
19 SeleniumBuilder 54
20 selfie 53
21 TestIt 44
22 RandomGenKt 37
23 konsent 29

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai