Kotlin Mockito

Open-source Kotlin projects categorized as Mockito

Top 4 Kotlin Mockito Projects

  • mockito-kotlin

    Using Mockito with Kotlin

  • Project mention: Best practices for Unit Testing Android Apps with Mockk, Kotest and others | dev.to | 2023-05-10

    As you can see, I create mockUsersRepository object using mock( function. Then, in setup() method, I set up this repository in such a way so that it would return a list of hardcoded values. After this, on top of everything else, I check if, for mockUsersRepository object, getUsers method was called with verify function, in the test method. It’s important to note that Mockito is a very old framework and was originally written for Java. When Kotlin appeared, it turned out that out of the box this framework can work with some limitations, which is why an extension, mockito-kotlin, was released. The example above was written with it. Another Mockito’s limitation was that it was impossible to mock final classes and static methods, and all classes are final by default in Kotlin. Currently, this is solved through mockito-inline but, before, it was a serious limitation. In respect to Java development, there was and is an alternative for Android developers, PowerMock.

  • TestIt

    Generate unit testing boilerplate from kotlin files.

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

    Movies demonstrates modern Android development with Hilt, RxJava3, Jetpack (Room, ViewModel,LiveData etc.), and Material Design based on MVVM clean architecture. (by shamim-emon)

  • Project mention: Android Movie Application | /r/opensource | 2023-06-13

    Hello guys.I'm relatively new to building open source projects. I've built a simple Android application using TMDB apis having latest technologies and would love to have feedback from you guys. Here is the project : https://github.com/shamim-emon/Movies

  • spring-boot-examples

    Spring-based applications using Java and Kotlin

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 2023-06-13.

Kotlin Mockito related posts

Index

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

Project Stars
1 mockito-kotlin 3,071
2 TestIt 42
3 Movies 40
4 spring-boot-examples 11
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com