ZenTest version 3.0.0 has been released!
ZenTest provides 3 different tools: zentest, unit_diff, and autotest.
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.
There are two strategies intended for ZenTest: test conformance
auditing and rapid XP.
For auditing, ZenTest provides an excellent means of finding methods
that have slipped through the testing process. I’ve run it against my
own software and found I missed a lot in a well tested
package. Writing those tests found 4 bugs I had no idea existed.
ZenTest can also be used to evaluate generated code and execute your
tests, allowing for very rapid development of both tests and
Scans your ruby code and tests and generates missing methods for you.
Includes a very helpful filter for Test::Unit output called unit_diff.
Continually and intelligently test only those files you change with
Includes a LinuxJournal article on testing with ZenTest written by
2 major enhancements
- Added autotest and rails_autotest. YAY for continous testing!
- Repackaged and gemified. YAY for gemification!
3 minor enhancements
- Added non-mappable tests starting with test_integration_.
- Lots of code and test refactoring and cleanup.
- Massive improvement on unit tests.
3 bug fixes
- Cleaned up class method inheritence. Esp relevant for rails testing.
- Finally fixed the unit_diff parse bug!
- Fixed improper counting of errors if a class was missing, should
be 1 + missing methods.