Preface

Throughout the course of this book, you’ll learn how to apply a test-driven development (TDD) process to the creation of applications that use Ruby and Rails. I’ll talk about how to apply TDD to your daily coding and about the tools and libraries that make testing in Rails easier.

The goal is to show you how to apply a test-driven process and automated testing as you build a Rails application. Being test-driven allows you to use testing to explore your code’s design. You’ll see what tools are available and learn when those tools are best used. Tools come and tools go, so I’m really hoping you come away from this book committed to the idea of writing better code through the small steps of a test-driven development process.

Get Rails 5 Test Prescriptions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.