This post originated from an RSS feed registered with Ruby Buzz
by Ryan Davis.
Original Post: ZenTest 3.1.0 Released
Feed Title: Polishing Ruby
Feed URL: http://blog.zenspider.com/index.rdf
Feed Description: Musings on Ruby and the Ruby Community...
We've been pushing hard on ZenTest and I'm proud to announce that we just released ZenTest 3.1.0! In this release we've added multiruby and massively enhanced autotest. I have to admit, I'm falling for autotest in much the same way Eric fell for unit_diff. Unfortunately for both of us, marrying software isn't legal in Washington state.
I'm going to write up some real stuff on using multiruby and autotest, but for now here is the standard marketing blurbies:
ZenTest provides 4 different tools: zentest, unit_diff, autotest, and multiruby.
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!
Changes:
2 major enhancements
+ Added multiruby! YAY!
+ Massive improvements to autotest: speed, reliability, reporting, etc.
10 minor enhancements
+ multiruby builds in a centralized location. YAY!
+ multiruby now allows reinstalls quickly and easily (can even skip config).
+ multiruby exits with total sum of exit codes.
+ autotest file search is muuuuch faster.
+ autotest automatically detects rails mode.
+ autotest deals with rails dependencies much better.
+ autotest reruns a full suite after you go green to ensure full coverage.
+ autotest always runs with unit_diff -u.
+ autotest can now run cvs/svn/p4 up periodically to be a mini-tinderbox.
+ autotest now has real help.
4 bug fixes
- ZenTest is now zentest. Yay for consistency! (do a rake uninstall to clean)
- ZenTest excludes pretty_print methods.
- Fixed unary operator issues (they were backwards... oops!) for ZenTest.
- unit_diff now runs diff.exe on Windoze. dunno if that will work.