Posts tagged as:

testing

RSpec Matchers

by Charles Max Wood on June 3, 2010


RSpec gives us many powerful tools to make our tests readable. Matchers allow us to provide custom predicates to our should statements that succinctly define the behavior of our code.
Download 27 MB
Download (iphone & ipod) 14 MB

{ 2 comments }

Shoulda on Rails

by Charles Max Wood on May 18, 2010


Shoulda is a framework that sits on top of Test::Unit and adds a ton of nice features like macro’s, nested context, and the ability to create custom tests in a block-based DSL.
Download 160.2 MB
Download (iphone & ipod) 71.9 MB

{ 7 comments }

This is a basic introduction to integration testing with cucumber. In it, I describe how to use cucumber and rspec to implement a feature in a web application, emphasizing the importance of writing tests before code, which is often referred to as TDD (test-driven development) or BDD (behavior-driven development, a refinement of the original TDD).
Download 146.8 MB
Download (iphone & ipod) 46.9 MB

{ 8 comments }