Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • Course

RSpec the Right Way

This course will teach you how to write human readable, executable documentation for your code with RSpec.

Intermediate
3h 11m
(91)

Created by Geoffrey Grosenbach

Last Updated Aug 13, 2019

Course Thumbnail
  • Course

RSpec the Right Way

This course will teach you how to write human readable, executable documentation for your code with RSpec.

Intermediate
3h 11m
(91)

Created by Geoffrey Grosenbach

Last Updated Aug 13, 2019

Get started today

Access this course and other top-rated tech content with one of our business plans.

Try this course for free

Access this course and other top-rated tech content with one of our individual plans.

This course is included in the libraries shown below:

  • Core Tech
What you'll learn

RSpec is about writing human readable, executable documentation for your code. The process of writing RSpec examples can improve the quality of your implementation code. It can help you understand new frameworks by formalizing your expectations about how they work. As a side effect, you'll get a test suite that verifies the correctness of your applications and helps you avoid writing new bugs into the system. This video series starts by teaching you the basic RSpec syntax and the best ways to use it, and then moves on to intermediate topics such as mocks, stubs, and error cases, and then adds Ruby on Rails into the equation, covering factories, code organization, and running tests quickly.

RSpec the Right Way
Intermediate
3h 11m
(91)
Table of contents

About the author
Geoffrey Grosenbach - Pluralsight course - RSpec the Right Way
Geoffrey Grosenbach
53 courses 4.1 author rating 5333 ratings

Geoffrey founded PeepCode and has created numerous courses on Ruby, JavaScript and Shell.

Get started with Pluralsight