Test-Driven iOS Development (Paperback)
Graham Lee
- 出版商: Addison Wesley
- 出版日期: 2012-04-19
- 定價: $1,200
- 售價: 8.0 折 $960
- 語言: 英文
- 頁數: 256
- 裝訂: Paperback
- ISBN: 0321774183
- ISBN-13: 9780321774187
-
相關分類:
Apple Developer、TDD 測試導向開發
立即出貨(限量) (庫存=8)
買這商品的人也買了...
-
$1,805Test-Driven Development: By Example (Paperback)
-
$680$578 -
$650$514 -
$680$537 -
$650$507 -
$520$411 -
$1,634Experiences of Test Automation: Case Studies of Software Test Automation (Paperback)
-
$299iOS 5 Programming Cookbook: Solutions & Examples for iPhone, iPad, and iPod touch Apps (Paperback)
-
$850$723 -
$399iOS Programming: The Big Nerd Ranch Guide, 3/e (Paperback)
-
$1,200$948 -
$438Interactive Project Management: Pixels, People, and Process (Paperback)
-
$1,710$1,625 -
$580$452 -
$650$553 -
$480$379 -
$680$537 -
$580$458 -
$700$665 -
$400$380 -
$360$281 -
$450$351 -
$680$578 -
$460$391 -
$360$252
相關主題
商品描述
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.
商品描述(中文翻譯)
隨著iOS應用程式變得越來越複雜且極為重要,iOS開發人員必須確保始終提供優秀的程式碼品質。這意味著採用最佳實踐來創建和測試iOS應用程式。測試驅動開發(TDD)是其中一種最強大的最佳實踐之一。《Test-Driven iOS Development》是第一本完全專注於幫助您在iOS環境中成功實施TDD和單元測試的書籍。
長期從事iOS/Mac開發的Graham Lee將幫助您快速將TDD整合到現有流程中,使用Apple的Xcode 4和OCUnit單元測試框架。他將引導您以測試驅動的方式構建整個Objective-C iOS應用程式,從最初的規格到功能完整的產品。Lee還介紹了在iOS開發中應用TDD的強大模式,並預覽了即將在iOS平台上推出的強大自動化測試功能。內容包括:
- 了解在iOS環境中進行單元測試的目的、好處和成本
- 掌握TDD的原則,並在從應用程式設計到重構的各個方面應用它們
- 撰寫可用、可讀且可重複執行的iOS單元測試
- 使用OCUnit為您的Xcode項目設置TDD
- 使用領域分析來識別您的應用程式需要的類別和互動方式,並相應地設計它
- 考慮用於iOS單元測試的第三方工具
- 以測試驅動的方式構建網絡代碼
- 自動化測試與用戶互動的視圖控制器代碼
- 設計以介面為導向,而非實現為導向
- 測試通常在後台運行的並發代碼
- 將TDD應用於現有應用程式
- 為行為驅動開發(BDD)做準備
作為唯一一本針對iOS的TDD和單元測試的指南,《Test-Driven iOS Development》涵蓋了基本概念和實際實施。