Load a module with it's require's mocked out
fetch mock for jest
Mock http requests made using fetch
Mock a canvas in your jest tests.
fetch mock for vitest
Axios adapter that allows to easily mock requests
No description provided.
Mock implementation of the Next.js Router
TypeScript definitions for ioredis-mock
XMLHttpRequest mock for testing
TypeScript definitions for mock-fs
A configurable mock file system. You know, for testing.
visx mock data
The mock serialport bindings
A JavaScript library to mock the local timezone.
TypeScript definitions for redux-mock-store
Axios mock for Jest
A lightweight Jest mock for unit testing Express
🌗 A module used to mock canvas in Vitest.
Redis client mock object for unit testing
Functions to mock the JavaScript aws-sdk
Mock STDIN file descriptor in Node.js
Mock AWS S3 SDK for Node.js
A mock store for testing your redux async action creators and middleware
Gratuitously unsafe mocks
Full-featured mocking library in Rust, including rich failure messages and argument matchers
A behaviour-driven mocking framework for generic traits. Create mocks for (multiple) traits in a behaviour-driven development mocking framework. Define the behaviour of mocks and expected method calls using argument patterns. Supports mocking of generic traits and generic methods. Requires: nightly
Standalone pact mock server for consumer pact tests
A very simple mock json tool
Admin UI for MockForge - web-based interface for managing mock servers
Virtual Backend Reality engine - stateful mock servers with persistent virtual databases
An easy to setup, rich mocking library for the Rust programming language.
AMQP protocol support for MockForge
Traffic analytics and metrics dashboard for MockForge
Chaos engineering features for MockForge - fault injection and resilience testing
CLI interface for MockForge
Instantiate one with `redis = MockRedis.new` and treat it like you would a normal Redis object. It supports all the usual Redis operations.
generador de url de busqueda
Easy to use mocking for testing the Bunny client for RabbitMQ
Provides a mock service for use with Pact
Library for stubbing grpc in Ruby
Generates Xml examples of different Brazilian tax documents.
A drop-in library to test stripe without hitting their servers
minitest/mock, by Steven Baker, is a beautifully tiny mock (and stub) object framework. The minitest-mock gem is an extraction of minitest/mock.rb from minitest in order to make it easier to maintain independent of minitest.
Mock you're entire application
Remember when RSpec had stub_chain? They removed it for good reasons but sometimes you just need it. Well, here it is, a proxy object. It doesn't actually mock anything for you (the name is just catchy) so you need to do that. But that actually comes with a lot of benefits: 1) It's compatable with any testing framework 2) You can use it for purposes other than testing, e.g. prototyping, code stubs 3) Flexibility in how you use it without overloading the number of methods you have to remember Here's an example usage: let(:model_proxy) do MockProxy.new(email_client: { create_email: { receive: proc {} } }) end before { allow(Model).to receive(:new).and_return model_proxy } it 'should call receive' do proc = MockProxy.get(model_proxy, 'email_client.create_email.receive') expect(proc).to receive(:call) run_system_under_test MockProxy.update(mock_proxy, 'email_client.create_email.validate!') { true } MockProxy.observe(mock_proxy, 'email_client.create_email.send') do |to| expect(to).to eq 'stop@emailing.me' end run_system_under_test2 end As you can see, the proc - which ends the proxy by calling the proc - can be used for anything. You can spy on the call count and arguments, mock methods, or just stub out code you don't want executed. Because it doesn't make any assumptions, it becomes very flexible. Simple, yet powerful, it's uses are infinite. Enjoy
MockChargebee is a drop in mocking library for testing with Chargebee.
Simple library for mocking Tzu in RSpec
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.