MockServer is an HTTP(S) mock server and proxy for testing that lets you mock APIs, inspect and modify live traffic, and inject failures. It supports HTTP/1.1, HTTP/2, gRPC, WebSockets, TCP and more on a single port, with additional support for HTTP/3, message brokers, and AI/LLM APIs.
- mock-server
- proxy
- java-client
- javascript-client
Let your Python tests travel through time
Easy Setup Stub Server
A utility for mocking out the Python Requests library.
PowerMock is a Java framework that allows you to unit test code normally regarded as untestable.
Library for stubbing and setting expectations on HTTP requests in Ruby.
A gem providing "time travel", "time freezing", and "time acceleration" capabilities, making it simple to test time-dependent code. It provides a unified method to mock Time.now, Date.today, and DateTime.now in a single call.
Pester is the ubiquitous test and mock framework for PowerShell.
Papercut SMTP -- The Simple Desktop Email Server
Automatically mock your HTTP interactions to simplify and speed up testing
A friendly substitute for .NET mocking libraries.
🔮 Proxies nodejs require in order to allow overriding dependencies during testing.
Lightweight service virtualization/ API simulation / API mocking tool for developers and testers
- api-simulation
- golang
- proxy
- mitm
An in memory postgres DB instance for your unit tests
- hacktoberfest
- pg-promise
- typeorm
- node-postgres
Interface mocking tool for go generate
The jQuery Mockjax Plugin provides a simple and extremely flexible interface for mocking or simulating ajax requests and responses
The open source, cloud native tool for API Mocking and Testing. Microcks is a Cloud Native Computing Foundation incubating project 🚀
Generate custom HTTP responses, the simpler way to test your Web Services
The easy mocking library for .NET
- mocking
- fake-objects
- dotnet
- dotnet-core
Testing layer for Microsoft's HttpClient library. Create canned responses using a fluent API.
Boilerplate-free mocking framework for Swift!
An elegant library for stubbing HTTP requests with ease in Swift
CppUTest unit testing and mocking framework for C/C++
vfsStream is a stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system. It can be used with any unit test framework, like PHPUnit or SimpleTest.