Course info
Dec 23, 2012
3h 11m
Your 10-day individual free trial includes:

Expanded library

This course and over 7,000+ additional courses from our full course library.

Hands-on library

Practice and apply knowledge faster in real-world scenarios with projects and interactive courses.
*Available on Premium only

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.

About the author
About the author

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

More from the author
Play by Play: React and Falcor with Brian Holt
1h 51m
Oct 15, 2015
More courses by Geoffrey Grosenbach