This course has been retired.


Rails Testing for Zombies


Retired Course

Course Overview

  1. Level 1 on Rails Testing

    Level 1 Free Level 1 Video | 9 Challenges
    Test Unit

    Testing philosophies, overview of Test Unit, TDD (Test Driven Development), and using assertions

  2. Level 2 on Rails Testing

    Level 2 1 Video | 8 Challenges
    Model Testing

    Preparing the database, running tests, using fixtures, and testing relationships

  3. Level 3 on Rails Testing

    Level 3 1 Video | 6 Challenges
    Cleaning it up

    Writing custom assertions, using Test Helper, and introducing Shoulda

  4. Level 4 on Rails Testing

    Level 4 1 Video | 6 Challenges
    Mocks and Stubs

    Understanding and using mocks and stubs with Mocha

  5. Level 5 on Rails Testing

    Level 5 1 Video | 6 Challenges
    Integration Tests

    Rails integration commands, integration testing with Capybara, and writing and using helper methods

  6. Level 6 on Rails Testing for Zombies

    Level 6 1 Video | 6 Challenges
    Using Factories

    Creating factories, adding associations between factories, and implementing factories in your tests

Completed Rails Testing for Zombies

Complete these levels to unlock

Course Completion Badge


Recommended Prerequisites

  • Intermediate Ruby Knowledge
  • Intermediate Programming Knowledge

About The Professor

Nate is a software developer who likes to focus on large, multi-part systems and APIs. He can often be found at his lab station drooling over documentation, reconfiguring a web server, or trying to shave 3 more bytes off a graphic.

View Full Credits

Course Notes

  • Estimated Course Length: 6 - 8 hours
  • This course teaches FactoryGirl 2.2.0.

Course Reviews (16)


Before finishing this course I was mainly focusing on writing unit tests using fixtures. Now the whole world has turned up side down. Factories, Integration testing, Capybara :-) so happy.


This course felt like a very solid intro, and left me wanting to research more into using Factory Girl and even RSpec down the line once I get the hang of things. I wish it had a bit more on test driven development, but this course did teach me most of what I needed to know to embark on that journey myself. The challenges seemed a bit more tougher on this one. I ran into syntax issues here and there, and wish the error messages were a bit more descriptive. On the test output tabs, many times the failing test message would get cut off. It would say something like, "expected this but ..." and never really said what my code was spitting out. Testing seems to be a bit more of a harder-to-grasp topic, as I had to re-watch a few of the videos to really get concepts down; especially stubs and mocks. Gregg mentioned this was likely in the videos though. I'm glad he did, because I didn't want to feel like I would be the only one who might get confused. Overall, love the courses and I feel like I've learned quite a bit in a short time frame. Thanks Envylabs!


This was a great course. While I've done testing before taking this course, I felt like I was missing a good foundation in testing principles. This helped solidify things in my brain. Thanks guys! Great job...


As someone who learned testing with RSpec, it was nice to have a course that teaches Test::Unit. This course has plenty of challenging content to keep you learning and digging into Test::Unit. "Rails Testing for Zombies" even covers Shoulda, Capybara and FactoryGirl, which are helpful gems for utilizing Test::Unit testing. This is a must-do course for those that don't know Test::Unit!