Getting Started with RSpec

Posted over 1 year ago

I'll admit it, I don't test as much as I should. I understood the importance of Test Driven Development but never invested time into getting up to speed with RSpec, or any other testing tool for that matter.

I decided to commit to using RSpec for testing and development of one of my latest projects and I will say it has been an amazing experience. There is a real feeling of comfort knowing that the change you just made is not only already covered in tests but also has not broken anything else.

The docs are pretty good for RSpec so I'm going to just cover getting a Rails 3 app setup to use RSpec 2, FactoryGirl, Mocha and Autotest. After those gems are installed and setup, there is plenty of documentation for you to bury yourself in!

Continue »

Goals

My (very) short term goals. Hopefully everything I'm doing right now is working towards one of these.

  • Write a jQuery Plugin Created over 1 year ago
  • Write a short (< 1 page) story Created over 1 year ago