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).
PowerMock is a Java framework that allows you to unit test code normally regarded as untestable.
gomonkey is a library to make monkey patching in unit tests easy
- gomonkey
- patch
- function
- member-method
Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.
- hacktoberfest
- contract-testing
- smartbear-supported
- pact
换种思路写Mock,让单元测试更简单
Just like System.Web.Abstractions, but for System.IO. Yay for testable IO access!
A mock implementation of the AWS S3 API startable as Docker image, TestContainer, JUnit Jupiter extension or TestNG listener
JVM version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.
- pact
- consumer-driven-contracts
- contract-testing
- hacktoberfest
🐤Dynamically Mock server behaviors and responses in Swift
- func
- kakapo
- json-api
- opinionated
Scriptable, multipurpose mock server. Run standalone mock servers, or embed mocks within your tests or CI/CD pipeline.
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.
Enable network mocks and more in UI Tests
Ergonomic Mocking for Elixir
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 library to declaratively write testable effects
🤖 A simulated HTTP server for testing client code with configurable responses.
Simple injectable test dependencies for Elixir
Mocking functions. Please get in touch to discuss features! Only regular functions available for now.
WITH-REDEFS enables rebinding of global functions, inspired by Clojure's with-redefs