-
Updated
Nov 18, 2020 - Vue
{{ message }}
Most popular Mocking framework for unit tests written in Java
An elegant dashboard
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 persistent service that generates mock data quickly and provids visualization view.
Stub your network requests easily! Test your apps with fake network data and custom response time, response code and headers!
Seamless REST/GraphQL API mocking library for browser and Node.
I'd like a configuration option to be able to disable the default mock map on this line here and get an error instead:
https://github.com/apollographql/graphql-tools/blob/5c5418cec88f1d5520eccc1d2e6dfaa511547e4d/src/mock.ts#L282
We have tests that use mock data and I'd rather have an explicit error if a value could not be resolved. I find the implicit default value unhelpful in this case and m
mocking library for Kotlin
Easy monkey-patching for node.js unit tests
Axios adapter that allows to easily mock requests
It would be nice to start building Pester on PowerShell 7 as well to see if it is compatible and keep it that way. To achieve that we need to research on which build servers v7 is already available. Right now we are building on TravisCI (Linux and MacOS), on AppVeyor (PowerShell 4+) and AzureDevOps (PowerShell 2&3).
Not sure if the build task needs to run on all three platforms, but it would be
Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.
HTTP client mocking tool for Python - inspired by Fakeweb for Ruby
Development tool to mock API endpoints quickly and easily (docker image available)
I would welcome a feature when, at the same url which is set to respond with OK status, I could have an error response generated with a random seed.
I am developing an Observable pattern to perform a series of retries to call an endpoint, with increasing delay. The problem is that during testing, I cannot really mock up the condition by randomly switching between two mocky.io urls (error and ok
Create a route:
/orders/*
then set the delay to 2000ms.
route not delayed when hit with another param beside *
/orders/1 not delayed

/orders/900 not delayed
/orders/* delayed
, but it started working again by itself sometime later, so I'm assuming that it was a GH blip.
I find it a little strange that the SPM installation for Cuckoo depends
Spinning up mongod in memory for fast tests. If you run tests in parallel this lib helps to spin up dedicated mongodb servers for every test file in MacOS, *nix, Windows or CI environments (in most cases with zero-config).
An OkHttp interceptor which has pretty logger for request and response. +Mock support
HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽
Add a description, image, and links to the mock topic page so that developers can more easily learn about it.
To associate your repository with the mock topic, visit your repo's landing page and select "manage topics."
Context
This isn't really a feature request, as what I need is possible with nock as-is. But I spent several hours searching, reading old issues and searching through the source code to find the solution, so I thought this might help others.
I am testing code that accesses a service that sets the statusMessage of the response, as well as the statusCode. I am using nock to mock the server