-
Updated
Jun 18, 2021 - JavaScript
mocking
Here are 721 public repositories matching this topic...
-
Updated
Jun 18, 2021 - Java
-
Updated
May 25, 2021 - PHP
What
A new ctx.forward utility may be added to forward the currently captured request to its original destination (bypass).
Why
- See #655
Currently bypassing is done via implicit/explicit return in the resolver. This is not intuitive and deterministic action, which also makes it hard to distinguish when the user forgot to return a mocked response, and when they meant to b
-
Updated
Jan 26, 2021 - Objective-C
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.-
Updated
Jun 18, 2021 - TypeScript
-
Updated
Jun 11, 2021 - JavaScript
Summary of the feature request
The VSCode Proposed Test API has a feature to "hide" tests from running. Currently to translate this to Pester I would have to enumerate all the tests in the blocks and then selectively exclude them. It would be nice if pester would do this for me with an ExcludeLine parameter. Excludes would take precedence over includes.
How should it work?
E
-
Updated
Jun 13, 2021 - TypeScript
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.
-
Updated
Jun 7, 2021 - Python
-
Updated
May 11, 2021 - Go
-
Updated
Jun 9, 2021 - JavaScript
-
Updated
May 18, 2021 - Ruby
-
Updated
Jun 12, 2021 - JavaScript
A "normal" event on an instance ignores null subscriptions. If I do so on a substituted interface, a null subscription leads to an exception. I have a not so nice legacy code with different listeners to an event an one class that does null-attach internally under some conditions, would be nice if this behaviour would be able to be tested as well. Example code for the problem:
publ
-
Updated
Jun 2, 2021 - Go
Hi,
The current version of OCMock used by Cuckoo/OCMock is very old (version 3.4.3), and has issues on Apple Silicon and Xcode 11 (among other things).
It would be great if Cuckoo's version of OCMock could be upgraded to >= 3.8.1 which works on Apple Silicon (release notes: https://ocmock.org/download/).
//Erik
-
Updated
Oct 4, 2020 - Swift
-
Updated
Jun 3, 2021 - JavaScript
-
Updated
Jun 7, 2021 - C#
-
Updated
May 31, 2021 - C#
-
Updated
May 28, 2020 - Shell
-
Updated
Apr 28, 2021 - 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,