Test-Driven iOS Development (Paperback)
暫譯: 測試驅動的 iOS 開發 (平裝本)

Graham Lee

  • 出版商: Addison Wesley
  • 出版日期: 2012-04-19
  • 定價: $1,200
  • 售價: 8.0$960
  • 語言: 英文
  • 頁數: 256
  • 裝訂: Paperback
  • ISBN: 0321774183
  • ISBN-13: 9780321774187
  • 相關分類: Apple DeveloperTDD 測試導向開發
  • 立即出貨(限量) (庫存=8)

買這商品的人也買了...

商品描述

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 應用程式。測試驅動開發(Test-Driven Development, TDD)是這些最佳實踐中最強大的方法之一。《測試驅動的 iOS 開發(Test-Driven iOS Development)》是第一本 100% 專注於幫助您在 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 應用於現有應用
- 為行為驅動開發(Behavior Driven Development, BDD)做準備

《測試驅動的 iOS 開發》是唯一一本專門針對 TDD 和單元測試的 iOS 指南,涵蓋了基本概念和實際實施。