Test-driven Ios Development
, by Lee, Graham- ISBN: 9780321774187 | 0321774183
- Cover: Paperback
- Copyright: 4/9/2012
As iOS apps become increasingly complex and business-critical, developers must adopt more effective processes for creating and testing them. Test-driven development (TDD) is one of today's most powerful best practices for improving development and ensuring superior code quality. Now, for the first time, there's a complete guide to successfully implementing TDD and unit testing in iOS environments. Long-time iOS and Macintosh developer Graham Lee shows how these techniques can be effectively integrated into existing processes; how to use Apple and third-party tools to implement them, and how to maximize the value of testing without slowing down development. A complete case study example guides developers through constructing an entire iOS app in a test-driven manner. Lee shows how to use TDD to overcome many common iOS development challenges, and how to test app components including models, domain logic, and view controllers. Building on his example, he identifies powerful patterns for applying TDD in iOS environments, and previews powerful automated testing capabilities that have recently come to the iOS platform or are expected to arrive soon. The only iOS-specific book on TDD and unit testing, Test-Driven iOS Development covers both essential concepts and practical implementation. From start to finish, it reflects the realities working iOS developers face - and helps them write code that's clean and robust enough to meet virtually any requirement