Test Driven Development in Ruby

A Practical Introduction to TDD Using Problem and Solution Domain Analysis

  • Bala Paranj

Table of contents

  1. Front Matter
    Pages i-xxi
  2. Bala Paranj
    Pages 1-55
  3. Bala Paranj
    Pages 57-124
  4. Bala Paranj
    Pages 125-152
  5. Bala Paranj
    Pages 153-162
  6. Bala Paranj
    Pages 163-169
  7. Bala Paranj
    Pages 171-220
  8. Bala Paranj
    Pages 221-262
  9. Bala Paranj
    Pages 263-276
  10. Bala Paranj
    Pages 277-284
  11. Back Matter
    Pages 285-288

About this book


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.

You will:

  • 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 


Ruby TDD Test Driven Development unit testing web development programming development open source Apress

Authors and affiliations

  • Bala Paranj
    • 1
  1. 1.AtlantaUSA

Bibliographic information

  • DOI https://doi.org/10.1007/978-1-4842-2638-4
  • Copyright Information Bala Paranj 2017
  • Publisher Name Apress, Berkeley, CA
  • eBook Packages Professional and Applied Computing
  • Print ISBN 978-1-4842-2637-7
  • Online ISBN 978-1-4842-2638-4
  • About this book
Industry Sectors
Finance, Business & Banking
IT & Software