Riot: for fast, expressive and focused unit tests

Courtesy Ruby Inside  Sat, 10/31/2009 - 10:57

JustinRiot is a new Ruby test framework by Justin Knowlden that focuses on faster testing.

Justin was frustrated with his slow running test suites, despite employing techniques such as using factories, mocks and avoiding database access.

He realized that a slow-running suite makes one reluctant to run it or expand it - not good.

With Riot, each test consists of a block which forms a single assertion on the topic of the test, keeping the...


 

More related items

Make any Ruby object Rack-friendly with Rackable
François Vaux has recently published a Ruby module called Rackable which allows you to make any Ruby object Rack-friendly, providing it with a REST-like interface. What does this mean? Well,...

This Week in Ruby: Rails 3.2, Rails Tutorial, and Why...
It's the latest Web-based syndication of Ruby Weekly, the weekly Ruby and Rails e-mail newsletter (which just tipped 11K subscribers). Ruby Weekly now has a 'tips' page where you can submit...

Wojciech Sznapka's Blog: Always use most latest...
In response to some criticism about his previous post with some framework benchmarks, Wojciech Sznapka has posted updated results using the latest versions of each framework. In my...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com