Mockito

Most popular Mocking framework for unit tests written in Java (by mockito)

Mockito Alternatives

Similar projects and alternatives to Mockito

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Mockito alternative or higher similarity.

Mockito reviews and mentions

Posts with mentions or reviews of Mockito. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-18.
  • Wednesday Links - Edition 2023-01-18
    2 projects | dev.to | 18 Jan 2023
    Mockito 5 Released (1 min)🎉 https://github.com/mockito/mockito/releases/tag/v5.0.0
  • Mockito 5.0.0 released, requires Java 11
    2 projects | /r/java | 14 Jan 2023
  • 5 easy paths to become a recognized Java expert. Really. For free.
    5 projects | dev.to | 25 Aug 2022
  • Mockito and non-debuggable testBuildTypes
    2 projects | /r/androiddev | 2 Jun 2022
    For those using a "release" testBuildType for integration tests, what does your mocking setup look like? My app is stuck on Mockito 2.23.4, because higher (> 1.8.12) versions of Byte Buddy required beyond that point [do not play nicely with non-debuggable APKs](https://github.com/mockito/mockito/issues/2302). Solutions I've considered so far:
  • 20+ Trending and Popular Java Open Source Project
    19 projects | dev.to | 10 May 2022
    Mockito
  • Writing Apache Parquet Files
    2 projects | /r/androiddev | 30 May 2021
    Hi, I've been trying to write parquet files on android for the past couple of days, and have really been struggling to find a solution. My original hypothesis was to just use the java parquet implementation (https://github.com/apache/parquet-mr), but I've since realized that not all java libraries play well with Android. I've gone through essentially dependency hell trying to franken-fit the library into my project, and imported as much as i could before hitting walls such as this one (https://github.com/mockito/mockito/issues/841).
  • Can we please stop downvoting people who dislike Rust?
    5 projects | /r/rust | 8 Apr 2021
    A lot of that magic on the JVM (Mockito / Spring Boot) relies on proxy objects that intercept method calls, and operate on them in a non-typesafe manner (working on Object[] args, and returning Object). When you use them, it looks type-safe, but under the hood it's all dynamic. Here is an example in Mockito: https://github.com/mockito/mockito/blob/ea000f72444ed4c7e409441aedc3021951b89660/src/main/java/org/mockito/internal/creation/bytebuddy/MockMethodInterceptor.java#L59.
  • A note from our sponsor - WorkOS
    workos.com | 29 Mar 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Stats

Basic Mockito repo stats
11
14,515
9.0
8 days ago

mockito/mockito is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of Mockito is Java.

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