This course has been retired.


Testing with RSpec


Retired Course

Course Overview

  1. Level 1 on Testing with RSpec

    Level 1 Free Level 1 Video | 5 Challenges

    An overview of RSpecs basic syntax and installation.

  2. Level 2 on Testing with RSpec

    Level 2 1 Video | 8 Challenges
    Configuration & Matchers

    Setting up RSpec in a Ruby or Rails project and digging into some RSpec Matchers.

  3. Level 3 on Testing with RSpec

    Level 3 1 Video | 5 Challenges
    DRY Specs

    See how to organize your specs better making readability much easier.

  4. Level 4 on Testing with RSpec

    Level 4 1 Video | 7 Challenges
    Hooks & Tags

    Before hooks, shared examples and RSpecs use of metadata.

  5. Level 5 on Testing with RSpec

    Level 5 1 Video | 7 Challenges
    Mocks & Stubs

    A tour through how RSpec uses mocks and stubs.

  6. Level 6 on Testing with RSpec

    Level 6 1 Video | 6 Challenges
    Custom Matchers

    Walkthough the creation of a custom matcher from scratch.

Completed Testing with RSpec

Complete these levels to unlock

Course Completion Badge


About The Professors

Gregg is passionate about taking complex topics and teaching them efficiently. He's helped build Envy Labs, Starter Studio, and Code School. He also furthers education through BarCamp in Orlando, the Orlando Ruby Users Group, and the Orlando Tech Events newsletter.

Olivier was an innocent French web designer when Rails for Zombies infected his brain. The course motivated him to learn to build what he previously could only design. Now set free by the eloquence of Ruby, he spends his time learning, teaching, and shipping code for Code School.

View Full Credits

Course Notes

  • Estimated Course Length: 4 - 5 hours
  • This course teaches RSpec 2.10.x, with most concepts working in any 2.x version of RSpec.

Course Reviews (6)


Fun course. Great design. Fun intro video. The lessons were informative. I feel much more comfortable now with Rspec.


Help me a lot to understand concepts like mocking, stubbing and everything else! Thanks Guys and keep doing the great work.


I finally know some of the advanced rspec things like let, subject that I never could wrap my head around before. Thanks


The biggest accomplishment of this course is going over a large amount of material without making it ever seem hard or rushed. I had seen a good bit of this before, but a lot of it was still theoretical, and my testing has been spotty at best. This made me get in and write tests, and combined with my new guard/spork setup, testing is actually fun now. This means I'll do more of it. Thanks!