Java Mocking

Open-source Java projects categorized as Mocking

Top 10 Java Mocking Projects

  • Mockito

    Most popular Mocking framework for unit tests written in Java

    Project mention: Wednesday Links - Edition 2023-01-18 | dev.to | 2023-01-18

    Mockito 5 Released (1 min)🎉 https://github.com/mockito/mockito/releases/tag/v5.0.0

  • WireMock

    A tool for mocking HTTP services

    Project mention: How to Boost Code Coverage with Functional Testing | reddit.com/r/Kotlin | 2022-11-01

    Yes I agree, mocking is a bit of an overloaded term, and the libraries we used for stubbing like gRPC Mock and WireMock also have `mock` in their name, even though they are real servers with stubbing

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • PowerMock

    PowerMock is a Java framework that allows you to unit test code normally regarded as untestable.

    Project mention: mooc.fi InaccessibleObjectException on Part 4 | reddit.com/r/learnjava | 2022-02-19

    A little hunting suggests that it is the old version of powermock, used by the MOOC tests that is tripping up in JDK 16+ now that there are restrictions on accesses for internal methods.

  • Mockneat

    MockNeat - the modern faker lib.

    Project mention: Favorite hidden gem library? | reddit.com/r/java | 2022-10-21
  • JMockit

    Advanced Java library for integration testing, mocking, faking, and code coverage

  • castlemock

    Castle Mock is a web application that provides the functionality to mock out RESTful APIs and SOAP web services.

  • Hoverfly Java

    Java binding for Hoverfly

  • Sonar

    Write Clean Java Code. Always.. Sonar helps you commit clean code every time. With over 600 unique rules to find Java bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • grpcmock

    A gRPC Java testing tool to easily mock endpoints of gRPC services for IT or Unit testing

    Project mention: How to Boost Code Coverage with Functional Testing | reddit.com/r/Kotlin | 2022-11-01

    Yes I agree, mocking is a bit of an overloaded term, and the libraries we used for stubbing like gRPC Mock and WireMock also have `mock` in their name, even though they are real servers with stubbing

  • Retromock

    Java library for mocking responses in a Retrofit service.

  • mock-box

    Mock-Box is a lightweight and powerful mock library that supports testing.

    Project mention: MockBox - lightweight mock library that supports testing | reddit.com/r/coolgithubprojects | 2022-08-18
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-01-18.

Java Mocking related posts

Index

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

Project Stars
1 Mockito 13,632
2 WireMock 5,327
3 PowerMock 3,953
4 Mockneat 506
5 JMockit 439
6 castlemock 260
7 Hoverfly Java 148
8 grpcmock 96
9 Retromock 58
10 mock-box 34
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com