I tried OCUnit, GTM, and iUnitTest but none of them supports testing for asynchronous methods. How do you test asynchronous methods on iPhone?
+2
A:
Have you tried making a local runloop in the test case?
Here you can have the test case wait for completion of the asynchronous call and possibly perform some timout checks.
Claus Broch
2010-06-15 08:42:54
I haven't tried it yet, I will try it. Thanks :D
fish potato
2010-06-16 08:00:25