O'Reilly logo

Effective Testing with RSpec 3 by Myron Marston, Ian Dees

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Part 1Getting Started

Welcome to RSpec! In this part of the book, you’re going to get acquainted with the framework as you write your first few working tests.

First, you’ll install RSpec and write your first few specs—RSpec’s lingo for tests. RSpec’s API is all about deciding how you want your code to behave and expressing that decision in your specs. Once you’ve got the basics down, we can’t resist showing you a few of the things that make RSpec special.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required