mocking
Here are 806 public repositories matching this topic...
Most popular Mocking framework for unit tests written in Java
-
Updated
Jun 15, 2022 - 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).
-
Updated
Jun 8, 2022 - PHP
Prerequisites
- I confirm my issue is not in the opened issues
- I confirm the Frequently Asked Questions didn't contain the answer to my issue
Environment check
- I'm using the latest
mswversion - I'm using Node.js version 14 or higher
Node.js vers
Hello! We had a need for the "does not contain" pattern while using your tool.
Usage example :
We have multiple query parameters "groups" in a URL: http://localhost:1111/test-stub?groups=Qwerty&qroups=Qwerty2
So we need to do something like
...
"id" : "c459a482-5b18-4c12-a17f-be2834fd6cdf",
"name" : "mapping-name",
"request" : {
"urlPath" : "/test-stub",
"metho
Stub your network requests easily! Test your apps with fake network data and custom response time, response code and headers!
-
Updated
May 16, 2022 - Objective-C
Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.
-
Updated
Jun 15, 2022 - TypeScript
Hey Guys,
I see an IllegalStateException when running one particular test.
What steps will reproduce the problem?
The following code fails each time it is run
Testcase:
package backend.model.posting
import backend.controller.exceptions.ConflictException
import backend.model.location.Location
import backend.model.user.UserAccount
import org.junit.Before
import org.Axios adapter that allows to easily mock requests
-
Updated
Jun 1, 2022 - JavaScript
Turn any OpenAPI2/3 and Postman Collection file into an API server with mocking, transformations and validations.
-
Updated
Jun 10, 2022 - TypeScript
Summary of the feature request
As a contributor or maintainer of a project I'd like to be able to help other contributors to correctly mock functions by failing a test if a mock does not exist. This would be very useful in situations when there are very complex scripts that handle a lot of scenarios and using a lot of external helper functions.
The ask would be to add a new parameter to `Mo
https://github.com/agriffis/vcrpy-unittest adds a VCRTestCase (and a VCRMixin) class. They consists only of 23 lines of code. Please include those two functions in your project to avoid needing to install another package. Those tiny package have a bigger overhead and packaging them for Debian would be rejected due to this reason.
Intercept HTTP requests at the Python socket level. Fakes the whole socket module
-
Updated
May 14, 2022 - Python
Lightweight service virtualization/API simulation tool for developers and testers
-
Updated
Jun 7, 2022 - Go
Mock, Test & Track HTTP Requests and Response for Microservices
-
Updated
Jun 10, 2022 - JavaScript
Over the wire test doubles
-
Updated
Jun 11, 2022 - JavaScript
The issue is based on the discussion in #559.
should we probably modify CI so that doc is published automatically on push to master? This way if we don't want doc to be released right now - just keep it in a branch. Otherwise, we have this non-synchronized docs and manual work..
😟
I'm not sure what to do about publishing docs. It would be nice to auto-publish,
Development tool to mock API endpoints quickly and easily (docker image available)
-
Updated
May 27, 2022 - Ruby
HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽
-
Updated
Mar 30, 2022 - Go
I'm mocking a protocol with a function that looks like this:
func foo(
completion: @escaping (
_ bar: Int,
_ baz: Int,
_ qux: Int
) -> Void
)The generated mocks do not properly remove the line breaks before attempting to put it into a single-line string literal, resulting in the errors Unterminated string literal, `Consecutive statement
A minimal test double library for TDD with JavaScript
-
Updated
Jun 14, 2022 - JavaScript
Easy HTTP Networking in Swift a NSURLSession wrapper with image caching support
-
Updated
Nov 23, 2021 - Swift
The easy mocking library for .NET
-
Updated
May 2, 2022 - C#
Mockito for Objective-C: creation, verification and stubbing of mock objects
-
Updated
Jun 7, 2022 - Objective-C
Replace any .NET method (including static and non-virtual) with a delegate
-
Updated
Sep 19, 2021 - C#
A lightweight library to simplify and generalize the process of writing unit tests for C applications.
-
Updated
May 28, 2020 - Shell
Mocking library for TypeScript
-
Updated
Apr 26, 2022 - TypeScript
WireMock.Net is a flexible product for stubbing and mocking web HTTP responses using advanced request matching and response templating. Based on the functionality from http://WireMock.org, but extended with more functionality.
-
Updated
Jun 9, 2022 - C#
Improve this page
Add a description, image, and links to the mocking topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the mocking topic, visit your repo's landing page and select "manage topics."


Hi,
It seems like the HTTP Assert package does not allow me to specify a body to pass in a POST request for example. Looking at the
HTTPBody()function, the body argument is set tonil:req, err := http.NewRequest(method, url+"?"+values.Encode(), nil)Is this by design, or am I looking at a missing feature?
Cheers,