views:

44

answers:

1

I have an iOS application (but this is just as applicable to an OS X app) that has async network access functions. Using GHUnit and without manually doing inner run loops, or synchronization of async operations, is it possible have a test method run an async operation and verify the results AFTER the async operation is complete.

I don't see anything in GHUnit to allow this but I might be blind. I do know of people who do this with inner run loops, but I have a bunch of integration tests and don't want to set this up for each test.

A: 

I don't use GHUnit, but is this blog entry handy at all?

coob
Thanks for the link. Not exactly what I'm looking for but I think I'll be able to build something based on their work. Thanks!
logancautrell