iOS 8 and Testing: XCTestCase, Performance Testing, asynchronous Testing with XCTestExpectation and Mocking
- Performance Testing
- asynchronous Testing with XCTestExpectation
With Xcode 6, we've finally arrived: the built-in testing tools are now good enough to use on their own. That is to say, there are no particularly compelling reasons to use any additional abstractions in order to provide acceptable test coverage for the vast majority apps and libraries. Except in extreme cases that require extensive stubbing, mocking, or other exotic test constructs, XCTest assertions, expectations, and performance measurements should be sufficient.