rspec Archive

Testing Legacy Rails Code

Switching to Test-Driven Development (TDD) on an existing project without tests presents special challenges. Code could be a tangled mess of dependencies that defeats the very concept of unit testing. Or somebody attempted TDD in the past

Behavior Driven Development Using Ruby, Cucumber, and rSpec

This video gives an introduction to behavior driven development using Ruby, Cucumber, and rSpec. This is a practical how-to for developers who have not yet integrated behavior driven development into their workflow. http://sdruby.org/podcast/82

Working Outside-in with Cucumber and RSpec

Look at the idea of working Outside-in and the importance of focusing on customer value. Introduce Cucumber a testing tool which allows writing plain text feature documentation which through Ruby steps is executed. Examine how to use