Mocking Open Source Projects
Browse 253 Mocking open source projects, ranked by GitHub stars. Find the most popular Mocking tools and libraries.
localstack/localstack
💻 A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline
Metrics details
| Stars | 65,141 |
jestjs/jest
Delightful JavaScript Testing.
Metrics details
| Stars | 45,465 |
stretchr/testify
A toolkit with common assertions and mocks that plays nicely with the standard library
Metrics details
| Stars | 26,088 |
mswjs/msw
Industry standard API mocking for JavaScript.
Metrics details
| Stars | 18,078 |
mockery/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).
Metrics details
| Stars | 10,724 |
golang/mock
GoMock is a mocking framework for the Go programming language.
Metrics details
| Stars | 9,357 |
mockoon/mockoon
Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.
Metrics details
| Stars | 8,338 |
wiremock/wiremock
A tool for mocking HTTP services
Metrics details
| Stars | 7,301 |
vektra/mockery
A mock code autogenerator for Go
Metrics details
| Stars | 7,153 |
DATA-DOG/go-sqlmock
Sql mock driver for golang to test database interactions
Metrics details
| Stars | 6,565 |
mockk/mockk
mocking library for Kotlin
Metrics details
| Stars | 5,748 |
AliSoftware/OHHTTPStubs
Stub your network requests easily! Test your apps with fake network data and custom response time, response code and headers!
Metrics details
| Stars | 5,070 |
stoplightio/prism
Turn any OpenAPI2/3 and Postman Collection file into an API server with mocking, transformations and validations.
Metrics details
| Stars | 4,990 |
getsentry/responses
A utility for mocking out the Python Requests library.
Metrics details
| Stars | 4,343 |
powermock/powermock
PowerMock is a Java framework that allows you to unit test code normally regarded as untestable.
Metrics details
| Stars | 4,173 |
ctimmerm/axios-mock-adapter
Axios adapter that allows to easily mock requests
Metrics details
| Stars | 3,544 |
pester/Pester
Pester is the ubiquitous test and mock framework for PowerShell.
Metrics details
| Stars | 3,304 |
kevin1024/vcrpy
Automatically mock your HTTP interactions to simplify and speed up testing
Metrics details
| Stars | 2,975 |
nsubstitute/NSubstitute
A friendly substitute for .NET mocking libraries.
Metrics details
| Stars | 2,962 |
SpectoLabs/hoverfly
Lightweight service virtualization/ API simulation / API mocking tool for developers and testers
Metrics details
| Stars | 2,505 |
h2non/gock
HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽
Metrics details
| Stars | 2,218 |
matryer/moq
Interface mocking tool for go generate
Metrics details
| Stars | 2,202 |
gabrielfalcao/HTTPretty
Intercept HTTP requests at the Python socket level. Fakes the whole socket module
Metrics details
| Stars | 2,162 |
jarcoal/httpmock
HTTP mocking for Golang
Metrics details
| Stars | 2,080 |
Kong/mockbin
Mock, Test & Track HTTP Requests and Response for Microservices
Metrics details
| Stars | 2,047 |
pytest-dev/pytest-mock
Thin-wrapper around the mock package for easier use with pytest
Metrics details
| Stars | 2,032 |
microcks/microcks
The open source, cloud native tool for API Mocking and Testing. Microcks is a Cloud Native Computing Foundation incubating project 🚀
Metrics details
| Stars | 1,994 |
linkedin/dexmaker
A utility for doing compile or runtime code generation targeting Android's Dalvik VM
Metrics details
| Stars | 1,969 |
haskell-servant/servant
Servant is a Haskell DSL for describing, serving, querying, mocking, documenting web applications and more!
Metrics details
| Stars | 1,967 |
FakeItEasy/FakeItEasy
The easy mocking library for .NET
Metrics details
| Stars | 1,838 |
richardszalay/mockhttp
Testing layer for Microsoft's HttpClient library. Create canned responses using a fluent API.
Metrics details
| Stars | 1,763 |
Brightify/Cuckoo
Boilerplate-free mocking framework for Swift!
Metrics details
| Stars | 1,744 |
iridakos/duckrails
Development tool to mock API endpoints quickly and easily - NOT MAINTAINED
Metrics details
| Stars | 1,710 |
WireMock-Net/WireMock.Net
WireMock.Net is a flexible product for stubbing and mocking web HTTP responses using advanced request matching and response templating. Based on the functionality from http://WireMock.org, but extended with more functionality.
Metrics details
| Stars | 1,675 |
testdouble/testdouble.js
A minimal test double library for TDD with JavaScript
Metrics details
| Stars | 1,429 |
kiwix/kiwix-android
Kiwix for Android
Metrics details
| Stars | 1,383 |
3lvis/Networking
Swift HTTP Networking with stubbing and caching support
Metrics details
| Stars | 1,381 |
freerange/mocha
A mocking and stubbing library for Ruby
Metrics details
| Stars | 1,285 |
help-me-mom/ng-mocks
Angular testing library for mocking components, directives, pipes, services and facilitating TestBed setup
Metrics details
| Stars | 1,156 |
google/intermock
Mocking library to create mock objects with fake data for TypeScript interfaces
Metrics details
| Stars | 1,145 |
h2non/gentleman
Plugin-driven, extensible HTTP client toolkit for Go
Metrics details
| Stars | 1,131 |
in28minutes/spring-boot-master-class
Understand and love the power of Spring Boot - All its features are illustrated developing a web application managing todos and a basic API for survey questionnaire. Also covers unit testing, mocking and integration testing.
Metrics details
| Stars | 1,114 |
tonerdo/pose
Replace any .NET method (including static and non-virtual) with a delegate
Metrics details
| Stars | 1,105 |
domenic/sinon-chai
Extends Chai with assertions for the Sinon.JS mocking framework.
Metrics details
| Stars | 1,088 |
google/cmockery
A lightweight library to simplify and generalize the process of writing unit tests for C applications.
Metrics details
| Stars | 1,087 |
mswjs/data
Data querying library for testing JavaScript applications.
Metrics details
| Stars | 1,033 |
service-mocker/service-mocker
🚀 Next generation frontend API mocking framework
Metrics details
| Stars | 1,004 |
mongomock/mongomock
Small library for mocking pymongo collection objects for testing purposes
Metrics details
| Stars | 1,003 |
NagRock/ts-mockito
Mocking library for TypeScript
Metrics details
| Stars | 998 |
stripe-ruby-mock/stripe-ruby-mock
A mocking library for testing stripe ruby
Metrics details
| Stars | 996 |
jonreid/OCMockito
Mockito for Objective-C: creation, verification and stubbing of mock objects
Metrics details
| Stars | 991 |
marchaos/jest-mock-extended
Type safe mocking extensions for Jest https://www.npmjs.com/package/jest-mock-extended
Metrics details
| Stars | 904 |
irahardianto/service-pattern-go
Simple clean Go REST API architecture with dependency injection and mocking example, following SOLID principles.
Metrics details
| Stars | 899 |
jefflau/jest-fetch-mock
Jest mock for fetch
Metrics details
| Stars | 892 |
uber/mockolo
Efficient Mock Generator for Swift
Metrics details
| Stars | 885 |
rollbear/trompeloeil
Header only C++14 mocking framework
Metrics details
| Stars | 878 |
stoplightio/studio
The modern editor for API Design and Technical Writing.
Metrics details
| Stars | 871 |
httptoolkit/mockttp
Powerful friendly HTTP mock server & proxy library
Metrics details
| Stars | 871 |
romantitov/MockQueryable
Mocking Entity Framework Core operations such ToListAsync, FirstOrDefaultAsync etc
Metrics details
| Stars | 866 |
cockroachdb/copyist
Mocking your SQL database in Go tests has never been easier.
Metrics details
| Stars | 853 |
