Foreword

Making software is hard, and it’s difficult to know how to get better at it. There’s always so much stuff to learn, and so many competing opinions about the right way to do things. And yet somehow here you are, about to read another book full of ideas you’re apparently supposed to remember.

Well, the truth is that you can make software just fine without writing tests, and you can write tests just fine without using RSpec, so you’ll be okay if you stop reading now. But if you decide to keep going, you’ll discover something interesting: writing tests with RSpec is a great way to get really good at making software.

That’s because RSpec isn’t just a testing framework. It’s a tool for learning how to think critically, patiently, and systematically ...

Get Effective Testing with RSpec 3 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.