Tagged: Test Driven Development

Guard Your Spork

Guard Your Spork

Tests are great to have for any Rails application, but it can become inconvenient to have to run them repeatedly. Two utilities, Guard and Spork, can be used in conjunction to help streamline your test suite and speed up your tests. Guard is a utility which helps automate your tests. You can specify which files you want it to watch, and Guard...

TDD and RSpec or Why It’s Okay To Fail

TDD and RSpec or Why It’s Okay To Fail

We’ve been learning about test-driven-development and RSpec, and it’s been amazing at times, frustrating at others. The frustrations are usually brought about when there’s a test that I want to run, but I don’t yet know how to build that test. We’re going to be learning more over the next few days, and the theory is that our learning curves for Ruby...