Unit testing using XCTest
The traditional way of testing software encompasses a long phase of manual testing at the end of the software development cycle. This approach has been proven ineffective because manual testing is a long and non-scalable process, and also because the more efficient way is to have short release cycles—two or three weeks—and have a part of the iteration dedicated to the manual testing which, simply isn't affordable. Also, as developers, we realized that the best way of making our code testable is to write simple, granular, and automatic tests while we are still in development. This method, called Test-Driven Development (TDD), was made famous by Kent Beck in his work on Extreme Programming, a revolutionary software ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access