Book description
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.
Product information
- Title: Test Driven Development in Ruby: A Practical Introduction to TDD Using Problem and Solution Domain Analysis
- Author(s):
- Release date: March 2017
- Publisher(s): Apress
- ISBN: 9781484226384
You might also like
book
Ruby Best Practices
How do you write truly elegant code with Ruby? Ruby Best Practices is for programmers who …
book
The Ruby Way: Solutions and Techniques in Ruby Programming, Second Edition
Ruby is an agile object-oriented language, borrowing some of the best features from LISP, Smalltalk, Perl, …
book
Effective Testing with RSpec 3
"Our tests are broken again!" "Why does the suite take so long to run?" "What value …
book
Design Patterns in Ruby
Praise for Design Patterns in Ruby " documents smart ways to resolve many problems that Ruby …