FlexMock is a simple, but flexible, mock object library for Ruby unit testing.
As I promised in another post today, here is some basic code to get you started on using Ruby's Test::Unit.
The original Behaviour Driven Development framework for Ruby.
- Inspired by JBehave
Has a mocking spec based on JMock
Properly titled Test::Unit
Testing and Behaviour-Driven Development (BDD)