ZenTest version 4.6.0 has been released!
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. Nobody uses this
tool anymore but it is the package namesake, so it stays.
unit_diff is a command-line filter to diff expected results from
actual results and allow you to quickly see exactly what is wrong.
Do note that minitest 2.2+ provides an enhanced assert_equal obviating
the need for unit_diff
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! Use multiruby_setup to manage your
installed versions.
Changes:
4.6.0 / 2011-07-22
-
6 minor enhancements:
- Added -p (plain diff) and made -u (unified diff) the default for
unit_diff. - Added ./tmp to default exclusions.
- Autotest defaults unit_diff to nil now, to allow minitest’s enhanced
assert_equal to shine. - Autotest will raise if the :died handler doesn’t handle the
exception. (ralfebert) - Dropped 1.8.6 as a default tag/branch to build in multiruby.
- autotest can now be automatically ‘narrowed’ on the command-line.
- eg:
autotest lib test/test_blah.rb
- eg:
- Added -p (plain diff) and made -u (unified diff) the default for
-
7 bug fixes:
- Believe it or not… but some ppl use zentest. Fixed nested class vs
module bug - Fix to turn on jruby’s support for ObjectSpace. (stepheneb)
- Fixed a rubygems deprecation in autotest
- Fixed unit_diff scanning for minitest output.
- Normalized shebangs to fix problems on windows (luis)
- autotest/isolate.rb sets GEM_HOME as well as GEM_PATH.
- Fixed 1.9.3 warnings.
- Believe it or not… but some ppl use zentest. Fixed nested class vs