ocmockito Questions
4
Solved
Say I'm writing a unit test for a tableView:cellForRowAtIndexPath: delegate method on a view controller. This method could return a couple of different configurations of cells depending on the inde...
Raneeraney asked 10/10, 2013 at 15:16
2
Solved
Following TDD I'm developing an iPad app that downloads some info from the internet and displays it on a list, allowing the user to filter that list using a search bar.
I want to test that, as the...
Zellner asked 12/5, 2013 at 18:29
1
Solved
For iOS tdd testing/mocking which framework would you recommend? I heard that OcMock has been around longer and is more lightweight. Could anyone provide a few examples of the pros and cons or demo...
2
I'm using OCMockito and I want to test a method in my ViewController that uses a NetworkFetcher object and a block:
- (void)reloadTableViewContents
{
[self.networkFetcher fetchInfo:^(NSArray *res...
Vizard asked 25/5, 2014 at 21:56
1
Solved
I would like to unit test a class that acts as a CBPeripheralManagerDelegate to the CBPeripheralManager class. Typically, in order to stub out an external class dependency, I would use either a for...
Uniliteral asked 24/1, 2014 at 15:40
1
© 2022 - 2024 — McMap. All rights reserved.