Test Driven Development in Ruby

Test Driven Development in RubyReviews
Author: Bala Paranj
Pub Date: 2017
ISBN: 978-1484226377
Pages: 288
Language: English
Format: PDF
Size: 10 Mb

Download

A Practical Introduction to TDD Using Problem and Solution Domain Analysis
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.

+

Table of Contents

1: The Basics
2: Katas
3: Techniques in TDD
4: Importance of Test Cases
5: Character-to-Number Conversion
6: Conway’s Game of Life
7: Gilded Rose
8: Dealing with Third-Party APIs
9: Pair Ranking