ZenTest 3.2.0 Released
Published 2006-04-11 @ 01:12
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).
Install Now, Read Later
sudo gem install ZenTest
or visit the rubyforge project
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.
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.
is a command-line filter to diff expected results from actual results and allow you to quickly see exactly what is wrong.
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.
runs anything you want on multiple versions of ruby. Great for compatibility checking!
helps you build industrial-strength Rails code.
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.