-
Updated
Sep 8, 2020 - Vue
mock
Here are 1,559 public repositories matching this topic...
-
Updated
Sep 9, 2020 - Java
-
Updated
Aug 11, 2020 - PHP
-
Updated
Sep 10, 2020 - JavaScript
-
Updated
Jun 16, 2020 - JavaScript
-
Updated
Sep 7, 2020 - Objective-C
-
Updated
Sep 2, 2020 - Kotlin
-
Updated
Sep 11, 2020 - TypeScript
-
Updated
Mar 31, 2020 - JavaScript
1. General summary of the issue
When running Pester, it now includes all the discovered tests even when you specify a -Tag, the tests that fall outside the tag filter, get deposited in the xml file.
2. Describe Your Environment
Pester version : 5.0.3 C:\Program Files\WindowsPowerShell\Modules\Pester\5.0.3\Pester.psd1
PowerShell version : 5.1.14409.1018
OS version : Micr
-
Updated
May 11, 2020 - Vue
-
Updated
Jun 1, 2020 - Python
-
Updated
Jul 27, 2020 - Ruby
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
At the moment MockIt supports
export const StatusCodes = {
OK: "200",
CREATED: "201",
NO_CONTENT: "204",
BAD_REQUEST: "400",
FORBIDDEN: "401",
INTERNAL_SERVER_ERROR: "500"
};
Might be worth adding some more? https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
If anybody is up for the challenge :)?
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,
I have a library that I generate all of my mocks into that is imported in my unit tests. When mocking a protocol, the generated mock object doesn't have an initializer declared. This means is uses the default initializer, which would be fine, except the default init()
method is internal. I can get around this by importing my mock library @testable
, but I'd suggest that protocol mocks for publi
-
Updated
Sep 11, 2020 - TypeScript
-
Updated
May 3, 2020 - Kotlin
-
Updated
May 19, 2020 - Go
-
Updated
Jul 21, 2020 - JavaScript
Improve this page
Add a description, image, and links to the mock topic page so that developers can more easily learn about it.
Add this topic to your repo
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