This post originated from an RSS feed registered with Ruby Buzz
by Ryan Davis.
Original Post: ZenTest 3.2.0 Released
Feed Title: Polishing Ruby
Feed URL: http://blog.zenspider.com/index.rdf
Feed Description: Musings on Ruby and the Ruby Community...
Eric went insane on ZenTest the last two weeks and I'm proud to announce that we just released ZenTest 3.2.0! In this release we've added Test::Rails and further enhanced autotest. Test::Rails is a brand-spankin' new way of writing your tests for your rails app. It splits out rails' rather hefty functional tests into separate controller and view tests. Now you can test your controllers without the cost of rendering. It can even audit itself to ensure testing consistency (there is probably a better way of describing this, but it is late).
I'm still going to write up some real stuff on using multiruby and autotest (including my emacs hooks for it), but for now here is the standard marketing blurbies:
ZenTest provides 4 different tools and 1 library: zentest, unit_diff, autotest, multiruby, and Test::Rails.
ZenTest scans your target and unit-test code and writes your missing code based on simple naming rules, enabling XP at a much quicker pace. ZenTest only works with Ruby and Test::Unit.
unit_diff is a command-line filter to diff expected results from actual results and allow you to quickly see exactly what is wrong.
autotest is a continous testing facility meant to be used during development. As soon as you save a file, autotest will run the corresponding dependent tests.
multiruby runs anything you want on multiple versions of ruby. Great for compatibility checking!
Test::Rails helps you build industrial-strength Rails code.
Changes:
1 major enhancement
+ Added Test::Rails.
1 minor enhancement
+ Extended autotest for Test::Rails.
4 bug fixes
+ Autotest now detects changes in rhtml.
+ Improved autotest's file mapping and choice of ruby.
+ We've got RDoc, yes we do!
+ Removed redundancies in rakefile. Using gem spec for most stuff now.