Test Driven Development in Ruby: A Practical Introduction to TDD Using Problem and Solution Domain Analysis (Ruby 測試驅動開發:透過問題與解決領域分析的實用入門)
Bala Paranj
- 出版商: Apress
- 出版日期: 2017-03-16
- 定價: $1,800
- 售價: 8.0 折 $1,440
- 語言: 英文
- 頁數: 288
- 裝訂: Paperback
- ISBN: 1484226372
- ISBN-13: 9781484226377
-
相關分類:
Ruby、TDD 測試導向開發
立即出貨 (庫存=1)
相關主題
商品描述
Learn the basics of test driven development (TDD) using Ruby. You will carry out problem domain analysis, solution domain analysis, designing test cases, and writing tests first. These fundamental concepts will give you a solid TDD foundation to build upon. Test Driven Development in Ruby is written by a developer for developers.
The concepts are first explained, then a coding demo illustrates how to apply the theory in practice. At the end of each chapter an exercise is given to reinforce the material. Complete with working files and code samples, you'll be able to work alongside the author, a trainer, by following the material in this book.
What You Will Learn
- Carry out problem domain analysis, solution domain analysis, designing test cases, and writing tests first
- Use assertions
- Discover the structure of a test and the TDD cycle
- Gain an understanding of minimal implementation, starter test, story test, and next test
- Handle refactoring using Ruby
- Hide implementation details
- Test precisely and concretely
- Make your code robust
Who This Book Is For
Experienced Ruby programmers or web developers with some prior experience with Ruby.
商品描述(中文翻譯)
學習使用Ruby進行測試驅動開發(TDD)的基礎知識。您將進行問題領域分析、解決方案領域分析、設計測試案例和先寫測試。這些基本概念將為您打下堅實的TDD基礎。
《Ruby測試驅動開發》是一本由開發者為開發者撰寫的書籍。首先解釋了這些概念,然後通過編碼示範展示了如何將理論應用於實踐。每章末尾都會提供練習來鞏固所學知識。配有工作文件和代碼示例,您可以通過遵循本書中的內容與作者一起工作。
您將學到什麼:
- 進行問題領域分析、解決方案領域分析、設計測試案例和先寫測試
- 使用斷言
- 了解測試的結構和TDD循環
- 理解最小實現、起始測試、故事測試和下一個測試
- 使用Ruby進行重構
- 隱藏實現細節
- 精確而具體地進行測試
- 使您的代碼健壯
適合閱讀對象:
有經驗的Ruby程序員或具有一些Ruby經驗的網絡開發人員。