Unit Testing Asynchronous Cocoa

Drew McCormack: There are two aspects to testing an asynchronous task that you need to consider. The first is that the unit test method should not return until the asynchronous task has fully completed; otherwise, the test will terminate prematurely. The second, which relates only to unit tests of Cocoa code, is to keep the … Continue reading Unit Testing Asynchronous Cocoa