Test-Driven iOS Development with Swift(Paperback)
暫譯: 使用 Swift 進行測試驅動的 iOS 開發(平裝本)
Dr. Dominik Hauser
- 出版商: Packt Publishing
- 出版日期: 2016-02-24
- 售價: $1,830
- 貴賓價: 9.5 折 $1,739
- 語言: 英文
- 頁數: 218
- 裝訂: Paperback
- ISBN: 178588073X
- ISBN-13: 9781785880735
-
相關分類:
Apple Developer、TDD 測試導向開發
已過版
相關主題
商品描述
Key Features
- 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 your next project faster!
- Learn how to incorporate all of the principles of test-driven development (TDD) in to your daily programming workflow
Book Description
Test-driven development (TDD) is a proven way to find software bugs early. Writing tests before your code improves the structure and maintainability of your app.
Test-driven iOS Development with Swift will help you understand the process of TDD and how it impacts your applications written in Swift. Through practical, real-world examples, you'll start seeing how to implement TDD in context. We will begin with an overview of your TDD workflow and then deep-dive into unit testing concepts and code cycles. We will showcase the workings of functional tests, which will help you improve the user interface. Finally, you will learn about automating deployments and continuous integration to run an environment.
What You Will Learn
- Implement TDD in swift application development
- Get to know the fundamentals, life cycle, and benefits of TDD
- Explore the tools and frameworks to effectively use TDD
- Develop models and controllers driven by tests
- Construct the network layer using stubs
- Use functional tests to ensure the app works as planned
- Automate and streamline the building, analysing, testing, and archiving of your iOS apps
About the Author
Dr. Dominik Hauser completed his PhD in physics at Heidelberg University, Germany. While working as a university professor, he started iOS development in his spare time. His first app on physics has been an astounding success worldwide. Since then, he's turned himself into a full-time iOS developer, crediting a number of successful apps to his name. He has been a Swift developer since day one and runs a blog on iOS development at http://swiftandpainless.com/.
Table of Contents
- Your First Unit Tests
- Planning and Structuring Your Test-Driven iOS App
- A Test-Driven Data Model
- A Test-Driven View Controller
- Testing Network Code
- Putting It All Together
- Code Coverage and Continuous Integration
- Where to Go from Here
商品描述(中文翻譯)
關鍵特點
- 學習測試驅動原則,幫助您構建更少錯誤和更好設計的應用程式
- 在使用 Swift 時提高效率,讓您更快進入下一個專案!
- 學習如何將所有測試驅動開發(TDD)的原則融入到您的日常程式設計工作流程中
書籍描述
測試驅動開發(TDD)是一種有效的方式,可以及早發現軟體錯誤。在編寫程式碼之前撰寫測試可以改善應用程式的結構和可維護性。
《使用 Swift 的測試驅動 iOS 開發》將幫助您理解 TDD 的過程以及它如何影響您用 Swift 編寫的應用程式。通過實際的真實案例,您將開始看到如何在上下文中實施 TDD。我們將從 TDD 工作流程的概述開始,然後深入探討單元測試概念和程式碼循環。我們將展示功能測試的運作,這將幫助您改善使用者介面。最後,您將學習自動化部署和持續整合,以運行環境。
您將學到的內容
- 在 Swift 應用程式開發中實施 TDD
- 了解 TDD 的基本原則、生命週期和好處
- 探索有效使用 TDD 的工具和框架
- 開發由測試驅動的模型和控制器
- 使用存根構建網路層
- 使用功能測試確保應用程式按計劃運作
- 自動化和簡化 iOS 應用程式的構建、分析、測試和存檔
關於作者
**Dr. Dominik Hauser** 在德國海德堡大學完成了物理學博士學位。在擔任大學教授期間,他開始在空閒時間進行 iOS 開發。他的第一個物理學應用程式在全球取得了驚人的成功。從那時起,他轉型為全職 iOS 開發者,並為自己創造了多個成功的應用程式。他從第一天起就是 Swift 開發者,並在 http://swiftandpainless.com/ 上運行一個有關 iOS 開發的部落格。
目錄
1. 您的第一個單元測試
2. 計劃和結構化您的測試驅動 iOS 應用程式
3. 測試驅動的資料模型
4. 測試驅動的視圖控制器
5. 測試網路程式碼
6. 將所有內容整合在一起
7. 程式碼覆蓋率和持續整合
8. 接下來該怎麼做