Most popular Mocking framework for unit tests written in Java
- mockito
- java
- mocking-framework
- testing-tools
47,133 repositories indexed
1–24 of 49 · Most stars
Most popular Mocking framework for unit tests written in Java
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).
A library that allows you to easily mock out tests based on AWS infrastructure.
Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
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.
Let your Python tests travel through time
A utility for mocking out the Python Requests library.
Library for stubbing and setting expectations on HTTP requests in Ruby.
Pester is the ubiquitous test and mock framework for PowerShell.
An in memory postgres DB instance for your unit tests
The jQuery Mockjax Plugin provides a simple and extremely flexible interface for mocking or simulating ajax requests and responses
The easy mocking library for .NET
An elegant library for stubbing HTTP requests with ease in Swift
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
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.
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.
A reasonably complete and well-tested golang port of httpbin, with zero dependencies outside the go stdlib.
Mock HTTPX with awesome request patterns and response side effects 🦋
:heavy_check_mark: Mock data for your prototypes and demos. Remote deployments to Zeit now.
Free, open-source AWS emulator. LocalStack alternative: 107 services, 7,657 operations, true 100% Smithy conformance (258,545/258,545 variants pass). No account, no auth token, no paid tier.