As iOS apps become increasingly complex and business-critical, iOS developers must ensure consistently superior code quality. This means adopting best practices for creating and testing iOS apps. Test-Driven Development (TDD) is one of the most powerful of these best practices. Test-Driven iOS Development is the first book 100% focused on helping you successfully implement TDD and unit testing in an iOS environment. Long-time iOS/Mac developer Graham Lee helps you rapidly integrate TDD into your existing processes using Apple’s Xcode 4 and the OCUnit unit testing framework. He guides you through constructing an entire Objective-C iOS app in a test-driven manner, from initial specification to functional product. Lee also introduces powerful patterns for applying TDD in iOS development, and previews powerful automated testing capabilities that will soon arrive on the iOS platform. Coverage includes Understanding the purpose, benefits, and costs of unit testing in iOS environments Mastering the principles of TDD, and applying them in areas from app design to refactoring Writing usable, readable, and repeatable iOS unit tests Using OCUnit to set up your Xcode project for TDD Using domain analysis to identify the classes and interactions your app needs, and designing it accordingly Considering third-party tools for iOS unit testing Building networking code in a test-driven manner Automating testing of view controller code that interacts with users Designing to interfaces, not implementations Testing concurrent code that typically runs in the background Applying TDD to existing apps Preparing for Behavior Driven Development (BDD) The only iOS-specific guide to TDD and unit testing, Test-Driven iOS Development covers both essential concepts and practical implementation.
Create fully-featured and highly functional iOS apps by writing tests first About This Book Learn test-driven principles to help you build apps with fewer bugs and better designs Become more efficient while working with Swift to move on to ...
Use test-driven approach to develop highly-functional iOS apps with Swift 4 and Xcode 9 About This Book A practical guide to writing effective, organized, and clean code that works well Learn test-driven principles to help you build better ...
This book uses a pragmatic approach to writing well-tested code and provides techniques that can be used to retrofit tests to legacy code bases.
The tools are there. This book will show you how to wield them. TDD has much more to offer than catching bugs. With this book, you’ll learn a philosophy for building software.
Write testable and maintainable code to develop highly-functional iOS apps About This Book Learn test-driven principles to help you build apps with fewer bugs and better designs Become more efficient while working with Swift to move on to ...
Coding is awesome.
Developers working with iOS will be able to put their knowledge to work with this practical guide to TDD in iOS. This book will help you grasp the fundamentals and show you how to run TDD with Xcode.
Who This Book Is For This book is for intermediate iOS developers who already know the basics of iOS and Swift development but want to learn how to write code which is both testable and maintainable.
Test-Driven JavaScript Development is a complete, best-practice guide to agile JavaScript testing and quality assurance with the test-driven development (TDD) methodology.
Write testable and maintainable code to develop highly-functional iOS appsAbout This Book- Learn test-driven principles to help you build apps with fewer bugs and better designs- Become more efficient while working with Swift to move on to ...