Nocilla icon indicating copy to clipboard operation
Nocilla copied to clipboard

Testing HTTP requests has never been easier. Nocilla: Stunning HTTP stubbing for iOS and Mac OS X.

Results 43 Nocilla issues
Sort by recently updated
recently updated
newest added

In certain test cases, we want to build up a backlog of requests that are waiting on answers from the network. In our test setup, Nocilla seems like the right...

I'm getting a crash on line 54 of `LSHTTPStubURLProtocol`: `[redirectRequest setAllHTTPHeaderFields:[NSHTTPCookie requestHeaderFieldsWithCookies:[cookieStorage cookiesForURL:newURL]]];` Here is the stack trace: ``` #0 0x000000010fd4a1d1 in CFURLCopyAbsoluteURL () #1 0x000000011211e3eb in HTTPCookieStorage::copyCookiesForURL(__CFURL const*, unsigned...

I haven't mapped out every scenario, but at least in the case of 307 and 308 redirects, Nocilla doesn't preserve the original request verb or body in the [newly created...

This would allow developers to test the loading states for their request

Referring to this issue: https://github.com/luisobo/Nocilla/issues/120 This will prevent the crash and also provides quicker stubbing for testing if a user doesn't actually need the response to redirect to a new...

Hi, I'm trying to stub a request with Nocilla, and I'm not sure that with regex should be enough to define path structure. I mean, when you send GET or...

As alluded to on Twitter, this allows users to use JSON in request and response bodies. E.g.: ``` objc stubRequest(@"POST", @"http://server.dev/user") .withJSON(@{ @"name": @"robb", @"pw": @"foobarbaz" }) .andReturn(201); BOOL success...

To be able to run simultaneously multiple tests with same requests stubs.

Please see the new unit test I've added here: https://github.com/mjholgate/Nocilla/tree/set-cookie-unit-test It fails, but I think it should pass (i.e. the cookie should be set, and should be able to be...

I'm a bit confused about how the NocillaUnexpectedRequest exception is supposed to work. Is the idea that it should halt the execution of the entire test suite, or rather that...