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
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.
- Title: Test Driven Development in Ruby: A Practical Introduction to TDD Using Problem and Solution Domain Analysis
- Release date: March 2017
- Publisher(s): Apress
- ISBN: 9781484226384
You might also like
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …
Software Engineering at Google
Today, software engineers need to know not only how to program effectively but also how to …
It’s easy to write “correct” Ruby code. But it’s far harder to gain the fluency needed …