quick-nimble Questions
3
I'm trying to do a simple test to see if Quick and Nimble are working properly, but they're not. Here is my simple test which is supposed to break:
import Quick
import Nimble
class SomeSpec: Quic...
Usury asked 27/11, 2016 at 21:21
3
Solved
Background:
While working on this answer I noticed that it's not so trivial to properly set up Quick test framework on Xcode properly. In my case, it took 3-4 failed attempts to finally have a work...
Souza asked 29/5, 2017 at 14:28
0
I'm implementing a test case using Quick/Nimble making network request (URLRequest) but I'm getting this error:
*** Terminating app due to uncaught exception 'InvalidNimbleAPIUsage', reason: 'exp...
Crossbreed asked 10/9, 2019 at 19:55
2
Solved
I want to make a Moya stub request in my Quick/Nimble BDD tests. Moya has a sampleData parameter I created using a JSON file:
var sampleData: Data {
switch self {
case .getPlaces:
// Provided t...
Kautz asked 2/2, 2017 at 0:12
1
Solved
For a particular case, I need to generate failure of test case unconditionally in Quick-Nimble framework. How do I do this?
An equivalent of XCTFail("Expecting to get failure callback") would be he...
Aleph asked 3/11, 2017 at 9:16
1
Quick is a behavior-driven development testing framework. I'd like to know why this could be better then doing regular XCTests. Nimble is only a matcher library but it makes the tests easy to read ...
Arciniega asked 18/8, 2015 at 13:20
1
Solved
I'm having a problem getting a Nimble matcher correct in testing a method that throws an exception. According to the docs it should be simple. I just need an expectation like this
expect( try som...
Reneta asked 13/12, 2016 at 15:47
1
I wrote a test case with some example groups including beforeEach and afterEach.
And I expected that each beforeEach and afterEach would be called once for each it.
Alas, for a single it the befor...
Restorative asked 18/5, 2017 at 9:52
1
Solved
My project is written in Swift 2.0 and I use Quick & Nimble to test my code.
expect(workerSpy.buySharesQuantity).to(equal(0.9602))
What I get is expectation failure with error message
expe...
Lingwood asked 4/10, 2016 at 13:29
2
I am trying to create a CocoaPod for Swift 3. Because CocoaPods uses Nimble and Quick, and those libraries haven't been updated yet, I forked the repos and am trying to convert them.
In the Nimble...
Diastyle asked 1/7, 2016 at 14:34
1
© 2022 - 2024 — McMap. All rights reserved.