Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news.

ZenTest 3.6.0: Turbocharge Your Tests

By Hendy Irawan / May 29, 2007


ZenTest is a bundle of useful time-saving tools created by Ryan Davis to make the process of testing your applications faster and more effective:

  • zentest automatically writes your missing code based on simple naming rules.
  • unit_diff compares expected results from actual results and allows you to quickly see exactly what is wrong.
  • autotest continuously runs in the background, running relevant tests as soon as you modify a file. It’s probably the most popular component of the ZenTest package. With RedGreen, you’ll even get colorized tests!
  • multiruby runs anything you want on multiple versions of ruby. Great for compatibility checking!
  • Test::Rails provides even more comprehensive testing support for your Rails projects.

Version 3.6.0 has improved support for RSpec, Camping, and Rails, including other enhancements and bug fixes.

To install the ZenTest gem:

gem install ZenTest -y

Head on to ZenTest web site, ZenSpider’s ZenTest articles, or ZenTest RubyForge project page to know all about it.

Interesting articles: Colorizing ZenTest by Bala Paranj, autotest -rails and Ruby, Rails, Test::Rails Cheat Sheet by Geoffrey Grosenbach, Colored autotest with Notifications on Windows by Chris Gaunt

About Hendy Irawan

Ruby programmer from Indonesia. View all posts by Hendy Irawan →


  1. Sandro says:

    Sound interesting :D
    I'm going to use it with RSpec in my next TDD project.

  2. Hendy Irawan says:

    Dear Sandro,

    Good luck! I also love ZenTest, especially autotest.. It "just works" :-)

    Coupled with CruiseControl.rb these guys are killer tools :-)

Other Posts to Enjoy

Twitter Mentions