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).
Test spies, stubs and mocks for JavaScript.
- stubs
- javascript
- tdd
- test-driven-development
Highly opinionated mocking framework for PHP 5.3+
Stub your network requests easily! Test your apps with fake network data and custom response time, response code and headers!
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
A utility for mocking out the Python Requests library.
Automatically mock your HTTP interactions to simplify and speed up testing
Lightweight service virtualization/ API simulation / API mocking tool for developers and testers
- api-simulation
- golang
- proxy
- mitm
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
Testing layer for Microsoft's HttpClient library. Create canned responses using a fluent API.
Embedded unit testing framework for Godot 4 supporting GDScript and C#. Features test-driven development, embedded test inspector, extensive assertions, mocking, scene testing.
:heavy_check_mark: PHP Test Framework for Freedom, Truth, and Justice
Bypass provides a quick way to create a custom plug that can be put in place instead of an actual HTTP server to return prebaked responses to client requests.
Mock HTTPX with awesome request patterns and response side effects 🦋
🐤Dynamically Mock server behaviors and responses in Swift
- func
- kakapo
- json-api
- opinionated
HTTP request/response recording library for elixir, inspired by VCR.
Aioresponses is a helper for mock/fake web requests in python aiohttp package.
DeepfakeHTTP is a web server that uses HTTP dumps as a source for responses.
In-page HTTP controller for frontend development. Intercept, modify, and simulate API responses directly in the browser.
PHP Mocking Framework
Betamax is a tool for mocking external HTTP resources such as web services and REST APIs in your tests. The project was inspired by the VCR library for Ruby.