Questions tagged [kiwi]

Kiwi is a Behavior Driven Development library for iOS development. The goal is to provide a BDD library that is exquisitely simple to setup and use.

Kiwi is a Behavior Driven Development library for iOS development. The goal is to provide a BDD library that is exquisitely simple to setup and use.

It's syntax is inspired from Ruby's unit testing framework Rspec.

126 questions
0
votes
1 answer

Objective-C unit testing private UIViewController interface

I have a UIViewController and I have been trying to unit test it. I have some private variables, and methods. I would like them to stay private. The question is, should I actually test private interface? Does it matter how it does internally, as…
foFox
  • 1,124
  • 1
  • 14
  • 24
0
votes
0 answers

EXC_BAD_ACCESS AFNetworking in GET:parameters:success:failure

I'm testing some code that performs some network operations. I'm using Kiwi and OHHTTPStubs libraries. Currently i have one clase that holds all the responsibilities for performing requests, i'm using the Singleton pattern. This object holds a…
bilby91
  • 904
  • 1
  • 8
  • 20
0
votes
1 answer

Testing HTTP using Kiwi/Nocilla

I just started developing an app that connects to this URL and retrieves the rate exchange for a given pair of currencies. I need to test the HTTP request and I ended up learning about Kiwi and Nocilla. However, I'm completely new to any kind of…
Diego A. Rincon
  • 747
  • 1
  • 8
  • 25
0
votes
1 answer

Test JASidePanels with Kiwi

I am trying JASidePanels with Kiwi, and got following error: failed: 'Root side panel controller, wants to show left panel, shows left panel' [FAILED], expected subject to equal 2, got 1 I think I must made some obvious mistake but could not…
ThinkChris
  • 1,169
  • 2
  • 15
  • 38
0
votes
1 answer

Mocking expectations and Grand Central Dispatch

I have a simple manager object, and using mocks in kiwi, I want to check that when I call [aPOIManager fetchNear:location] it calls downloadPOIsNear:completionBlock: on its downloader. Everything worked fine until I decided to dispatch the call to…
Raphaël Mor
  • 356
  • 2
  • 14
0
votes
2 answers

Kiwi + MagicalRecord method does not exist

I am using Kiwi framework to test the interaction between my code and Core Data through Magical Record library. Magical record defines a category on NSManagedObject, which adds few nice methods, such as MR_createInContext:(NSManagedObjectContext…
foFox
  • 1,124
  • 1
  • 14
  • 24
1 2 3
8
9