A toolkit with common assertions and mocks that plays nicely with the standard library
- testify
- go
- assertions
- mocking
47,133 repositories indexed
1–24 of 45 · Most stars
A toolkit with common assertions and mocks that plays nicely with the standard library
Open-source platform for creating safe, isolated production sandboxes for API, integration, and E2E testing.
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).
Record, Replay, and Stub HTTP Interactions.
Test Automation Made Simple
Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.
Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
Turn any OpenAPI2/3 and Postman Collection file into an API server with mocking, transformations and validations.
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.
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
Generate custom HTTP responses, the simpler way to test your Web Services
Boilerplate-free mocking framework for 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.
Mocks and explicit contracts in Elixir
Record and replay your HTTP interactions for fast, deterministic and accurate tests
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
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.
Replace any .NET method (including static and non-virtual) with a delegate
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.