Test-Driven iOS Development with Swift 4 - Third Edition
暫譯: 使用 Swift 4 進行測試驅動的 iOS 開發(第三版)
Dr. Dominik Hauser
- 出版商: Packt Publishing
- 出版日期: 2017-10-31
- 定價: $1,580
- 售價: 6.0 折 $948
- 語言: 英文
- 頁數: 222
- 裝訂: Paperback
- ISBN: 1788475704
- ISBN-13: 9781788475709
-
相關分類:
Apple Developer
-
其他版本:
Test-Driven iOS Development with Swift - Fourth Edition: Write maintainable, flexible, and extensible code using the power of TDD with Swift 5.5 (Paperback)
買這商品的人也買了...
-
大話資料結構$590$466 -
學徒模式-優秀軟體開發者的養成之路 (Apprenticeship Patterns: Guidance for the Aspiring Software Craftsman)$420$332 -
物件導向設計模式-可再利用物件導向軟體之要素 (精裝典藏版) (Design Patterns: Elements of Reusable Object-Oriented Software)$550$550 -
Responsive Web Design 響應式網頁設計學習手冊 (Learning Responsive Web Design: A Beginner's Guide)$580$458 -
$330程序員修煉之道 :從小工到專家 (The Pragmatic Programmer: From Journeyman to Master) -
精通 Python|運用簡單的套件進行現代運算 (Introducing Python: Modern Computing in Simple Packages)$780$616 -
Python 程式設計實務-從初學到活用 Python 開發技巧的16堂課$560$437 -
Windows 10 IOT 物聯網入門與實戰 - 使用 Raspberry Pi (附120段教學與執行影片/範例檔)$580$493 -
$1,617Deep Learning (Hardcover) -
Android App 程式設計教本之無痛起步 -- 使用 Android Studio 2.X 開發環境$580$458 -
TensorFlow + Keras 深度學習人工智慧實務應用$590$460 -
寫程式前就該懂的演算法 ─ 資料分析與程式設計人員必學的邏輯思考術 (Grokking Algorithms: An illustrated guide for programmers and other curious people)$390$308 -
Deep Learning|用 Python 進行深度學習的基礎理論實作$580$458 -
大數據時代一定要會的自動化資料搜集術$480$408 -
React 入門開發實務$520$411 -
SQL Server 與 R 開發實戰講堂$680$578 -
Docker 這樣學才有趣:從入門,到玩直播、挖礦$450$356 -
演算法圖鑑:26種演算法 + 7種資料結構,人工智慧、數據分析、邏輯思考的原理和應用 step by step 全圖解$450$356 -
遺留系統重建實戰 (Re-Engineering Legacy Software)$330$314 -
為你自己學 Git$500$425 -
Ansible 徹底入門|雲端時代的組態管理$480$408 -
Python 入門邁向高手之路王者歸來$699$594 -
一步到位!RWD 網頁程式設計 - 用 HTML5、CSS3、Bootstrap 打造響應式網頁$480$408 -
Java SE 9 技術手冊$650$553 -
CODE COMPLETE:軟體開發實務指南, 2/e (中文版) (Code Complete: A Practical Handbook of Software Construction, 2/e)$1,280$998
相關主題
商品描述
Key Features
- A practical guide to writing effective, organized, and clean code that works well
- Learn test-driven principles to help you build better-designed apps with fewer bugs
- A comprehensive overview of the techniques available for TDD in Swift
Book Description
Test-driven development (TDD) is a proven way to find software bugs early. Writing tests before you code improves the structure and maintainability of your apps. Using TDD, in combination with Swift 4's improved syntax, means there is no longer any excuse for writing bad code.
This book will help you understand the process of TDD and how to apply it to your apps written in Swift.
Through practical, real-world examples, you'll learn how to implement TDD in context. You will begin with an overview of the TDD workflow and then delve into unit-testing concepts and code cycles.
You will also plan and structure your test-driven iOS app, and write tests to drive the development of view controllers and helper classes. Next, you'll learn how to write tests for network code and explore how the test-driven approach-in combination with stubs-helps you write network code even before the backend component is finished.
Finally, the book will guide you through the next steps to becoming a testing expert by discussing integration tests, Behavior Driven Development (BDD), open source testing frameworks, and UI Tests (introduced in Xcode 9).
What you will learn
- Implement TDD in Swift application development
- Find bugs before you enter code using the TDD approach
- Use TDD to build models, view controllers, and views
- Test network code with asynchronous tests and stubs
- Write code that is a joy to read and maintain
- Develop functional tests to ensure the app works as planned
About the Author
Dr. Dominik Hauser completed his PhD in physics from the University of Heidelberg. 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 has turned himself into a full-time iOS developer, with a number of successful apps to his name. He has been a Swift developer since day one and runs a blog on iOS development.
Table of Contents
- Your First Unit Tests
- Planning and Structuring Your Test Driven iOS App
- A Test Driven Data Model
- Test Driven View Controllers
- Testing Network Code
- Put It All Together
- Code Coverage And Continuous Integration
- Where To Go From Here
商品描述(中文翻譯)
**主要特點**
- 實用指南,教你如何編寫有效、有組織且乾淨的程式碼,並確保其運行良好
- 學習測試驅動原則,幫助你構建設計更佳且錯誤更少的應用程式
- 提供 Swift 中可用的測試驅動開發(TDD)技術的全面概述
**書籍描述**
測試驅動開發(TDD)是一種有效的方式,可以及早發現軟體錯誤。在編寫程式碼之前撰寫測試,可以改善應用程式的結構和可維護性。結合 Swift 4 的改進語法,使用 TDD 意味著不再有編寫糟糕程式碼的藉口。
本書將幫助你理解 TDD 的過程,以及如何將其應用於用 Swift 編寫的應用程式。
透過實際的真實案例,你將學習如何在上下文中實施 TDD。你將從 TDD 工作流程的概述開始,然後深入了解單元測試概念和程式碼循環。
你還將計劃和結構你的測試驅動 iOS 應用程式,並編寫測試以驅動視圖控制器和輔助類的開發。接下來,你將學習如何為網路程式碼編寫測試,並探索測試驅動方法如何結合存根,幫助你在後端組件完成之前編寫網路程式碼。
最後,本書將指導你邁向成為測試專家的下一步,討論整合測試、行為驅動開發(BDD)、開源測試框架和 UI 測試(在 Xcode 9 中引入)。
**你將學到的內容**
- 在 Swift 應用程式開發中實施 TDD
- 使用 TDD 方法在編寫程式碼之前找到錯誤
- 使用 TDD 構建模型、視圖控制器和視圖
- 使用非同步測試和存根測試網路程式碼
- 編寫易於閱讀和維護的程式碼
- 開發功能測試以確保應用程式按計劃運行
**關於作者**
**Dr. Dominik Hauser** 於海德堡大學獲得物理學博士學位。在擔任大學教授期間,他開始在空閒時間進行 iOS 開發。他的第一款物理學應用程式在全球取得了驚人的成功。自那時起,他轉型為全職 iOS 開發者,並擁有多款成功的應用程式。他自第一天起就是 Swift 開發者,並經營一個有關 iOS 開發的部落格。
**目錄**
1. 你的第一個單元測試
2. 計劃和結構你的測試驅動 iOS 應用程式
3. 測試驅動的資料模型
4. 測試驅動的視圖控制器
5. 測試網路程式碼
6. 將所有內容整合在一起
7. 程式碼覆蓋率與持續整合
8. 接下來該往哪裡走
