Kotlin Mock

Open-source Kotlin projects categorized as Mock

Top 9 Kotlin Mock 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.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • LoggingInterceptor

    An OkHttp interceptor which has pretty logger for request and response. +Mock support

  • S3Mock

    A simple mock implementation of the AWS S3 API startable as Docker image, TestContainer, JUnit 4 rule, JUnit Jupiter extension or TestNG listener

  • mockative

    Mocking for Kotlin/Native and Kotlin Multiplatform using the Kotlin Symbol Processing API (KSP)

  • MocKMP

    A Kotlin/Multiplatform Kotlin Symbol Processor that generates Mocks & Fakes.

  • Mokkery

    The mocking library for Kotlin Multiplatform, easy to use, boilerplate-free and compiler plugin driven.

  • Project mention: Mokkery - mocking library for Kotlin Multiplatform | /r/Kotlin | 2023-07-31

    Hi everyone! Some time ago I have released Mokkery, a mocking library for Kotlin Multiplatform.

  • ComposeSample

    Multi Module Clean Architecture Compose sample app

  • Project mention: Review request for my repository | /r/androiddev | 2023-08-14
  • SaaSHub

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

    SaaSHub logo
  • Raccoon

    Raccoon is a lightweight response mocking framework that can be easily integrated into the Android UI tests. (by iamjosephmj)

  • mock-aws-java-sdk

    Provides mocked versions of the Java AWS SDK clients

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 Mock discussion

Log in or Post with

Kotlin Mock related posts

  • MocKMP VS mockative - a user suggested alternative

    2 projects | 9 Nov 2022
  • Is it acceptable to use mock servers, like Postman, for testing in Android?

    3 projects | /r/androiddev | 6 Sep 2022
  • I have difficulties in unit testing

    2 projects | /r/Frontend | 2 May 2022
  • Level up your espresso tests with Raccoon!

    1 project | /r/androiddev | 27 Jun 2021
  • Is Raccoon better than wireMock for Android UI test?

    1 project | /r/Android | 26 Jun 2021
  • Is Raccoon better than wireMock for Android UI tests?

    1 project | /r/Android | 26 Jun 2021
  • Is Raccoon better than wireMock for Android UI test?

    1 project | /r/androiddev | 26 Jun 2021
  • A note from our sponsor - SaaSHub
    www.saashub.com | 12 Jun 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

Project Stars
1 mockk 5,315
2 LoggingInterceptor 1,314
3 S3Mock 790
4 mockative 227
5 MocKMP 176
6 Mokkery 96
7 ComposeSample 78
8 Raccoon 54
9 mock-aws-java-sdk 5

Sponsored
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com