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 Automation Made Simple
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.
Papercut SMTP -- The Simple Desktop Email Server
Automatically mock your HTTP interactions to simplify and speed up testing
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
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.
C++ mocking made easy. A simple yet very expressive, headers only library for c++ mocking.
Mock Alamofire and URLSession requests without touching your code implementation
- wt-branch-protection-two-approvals
- wt-branch-protection-exempt
A reasonably complete and well-tested golang port of httpbin, with zero dependencies outside the go stdlib.
🔭 Powerful tool for testing WebHooks and more
- webhook
- tests
- golang
- push-notifications
DeepfakeHTTP is a web server that uses HTTP dumps as a source for responses.
Scriptable, multipurpose mock server. Run standalone mock servers, or embed mocks within your tests or CI/CD pipeline.
Fake JSON Server is a Fake REST API that can be used as a Back End for prototyping or as a template for a CRUD Back End.
- csharp
- webapi
- dotnet-core
- dynamic
Shift-left API Integration | Auto-fix integration drift before integration. Specmatic turns API specifications into executable contracts, continuously verifying that every change made by AI coding agents and engineers stays true to the desired behaviour. Ship AI-ready APIs 10x faster, from intent to implementation, with Spec-Driven API Development.
A Open Source Mocking framework for Delphi XE2 or later
- delphi
- mocking-framework
- dpmpackage
:dash: Simple yet powerful file-based mock server with recording abilities
Simplify software testing, by easily mocking any system using HTTP/HTTPS, allowing a team to test and develop against a service that is not complete or is unstable or just to reproduce planned/edge cases.
A way to simplify your Salesforce data creation and method stubbing.
A simple mocking framework for Swift, inspired by the famous http://mockito.org/
- mocking-framework
- mockit
- swift
Simple mocking library for asynchronous testing in Elixir.
- elixir-lang
- elixir
- exunit
- asynchronous-tests
FakeServer integrates with ExUnit to make external APIs testing simpler
- elixir
- test
- fake-server
- exunit