Top 158 mocking open source projects

Http Fake Backend
Build a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.
Mockoon
Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.
Faker
Provides fake data to your Android apps :)
Okhttp Json Mock
Mock your datas for Okhttp and Retrofit in json format in just a few moves
Axios Mock Adapter
Axios adapter that allows to easily mock requests
Mockiato
A strict, yet friendly mocking library for Rust 2018
Bypass Finals
Removes final keywords from source code on-the-fly and allows mocking of final methods and classes. It can be used together with any test tool such as PHPUnit or Mockery.
Pester
Pester is the ubiquitous test and mock framework for PowerShell.
Sinon Jest Cheatsheet
Some examples on how to achieve the same goal with either of both libraries: sinon and jest. Also some of those goals achievable only by one of these tools.
Fake Xrm Easy
The testing framework for Dynamics CRM and Dynamics 365 which runs on an In-Memory context and deals with mocks or fakes for you
Python Mocket
a socket mock framework - for all kinds of socket animals, web-clients included
Ts Auto Mock
Typescript transformer to unlock automatic mock creation for interfaces and classes
Phony
Mocks, stubs, and spies for PHP.
Gaos
HTTP mocking to test API services for chaos scenarios
Django Mock Queries
A library for mocking django queryset functions in memory for testing
Testify
A toolkit with common assertions and mocks that plays nicely with the standard library
Js Mocking Fundamentals
JavaScript Mocking Fundamentals on TestingJavaScript.com
Respx
Mock HTTPX with awesome request patterns and response side effects 🦋
Ioredis Mock
Emulates ioredis by performing all operations in-memory.
Xamarin.forms.mocks
Library for running Xamarin.Forms inside of unit tests
Mocktail
A mock library for Dart inspired by mockito
Vcrpy
Automatically mock your HTTP interactions to simplify and speed up testing
Examples
Examples of Mock Service Worker usage with various frameworks and libraries.
Httpretty
Intercept HTTP requests at the Python socket level. Fakes the whole socket module
Prism
Turn any OpenAPI2/3 and Postman Collection file into an API server with mocking, transformations and validations.
Dingo
🐺 Easy, fast and type-safe dependency injection for Go.
Httpmocker
HttpMocker is a simple HTTP mocking library written in Kotlin to quickly and easily handle offline modes in your apps
Castlemock
Castle Mock is a web application that provides the functionality to mock out RESTful APIs and SOAP web services.
Hoverfly
Lightweight service virtualization/API simulation tool for developers and testers
Mockbin
Mock, Test & Track HTTP Requests and Response for Microservices
Duckrails
Development tool to mock API endpoints quickly and easily (docker image available)
Fauxhai
Easily mock full ohai data
Spy
Clojure/ClojureScript library for stubs, spies and mocks.
Datomock
Mocking and forking Datomic Peer connections in-memory.
Spring Data Mock
Mock facility for Spring Data repositories
Narwhal
A progressive test framework for C.
Parrot
✨ Scenario-based HTTP mocking
Really Need
Node require wrapper with options for cache busting, pre- and post-processing
Mockery
Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL).
Prig
Prig is a lightweight framework for test indirections in .NET Framework.
Automation Arsenal
Curated list of popular Java and Kotlin frameworks, libraries and tools related to software testing, quality assurance and adjacent processes automation.
Mimus
Swift Mocking Library
Redismock
🕋 Mocking Redis in unit tests in Go.
Cuckoo
Boilerplate-free mocking framework for Swift!
Capture Thread
Lock-free framework for loggers, tracers, and mockers in multithreaded C++ programs.
Mockduck
A network mocking layer for iOS, tvOS, and macOS
Networking
Easy HTTP Networking in Swift a NSURLSession wrapper with image caching support
Mockito Java8
Mockito add-ons leveraging Java 8 and lambda expressions to make mocking even more compact
Wiremock Ui
An unofficial UI for WireMock
Testdouble.js
A minimal test double library for TDD with JavaScript
Gock
HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽
Fakeiteasy
The easy mocking library for .NET
Vcr
Record HTTP calls and replay them
1-60 of 158 mocking projects