ZenTest 3.3.0

ZenTest version 3.3.0 has been released!

zentest | software projects | by ryan davis
http://blog.zenspider.com/archives/zentest/

== DESCRIPTION

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.

== FEATURES

Changes:

  • 1 major enhancement:

    • autotest has been rewritten to be much cleaner, now has a plugin
      system.
  • 5 minor enhancement:

    • test/rails adds helper tests, “stolen” from Geoff’s work, (which
      was “stolen” from ryan’s work. :P)
    • autotest turnaround is now faster.
    • Added more prune dirs to autotest.
    • test/rails rewinds IOs containing captured output. Added
      assert_empty.
    • Document that autotest doesn’t run the db:test:prepare rake task
      when in Rails mode.
    • Added ruby_fork, but haven’t fully plugged into autotest yet.
  • 7 bug fixes:

    • Add SIGINT handler to unit_diff to give a more graceful exit.
    • Don’t strip <> from tempfiles, parse_diff does it for us.
    • Fixed autotest problems on windoze. Ugh.
    • Fixed broken pipe bug and newline bug in unit_diff.
    • Make request_method in ControllerTestCase a String.
    • multitest installs rubygems if tarball found in versions dir.
    • multitest only configures when makefile is missing. Rebuilds much
      faster now.
    • ruby_fork exits without backtrace and allows redirection of output.

    zentest | software projects | by ryan davis

On Saturday, July 29, 2006, at 6:58 AM, Ryan D. wrote:

ZenTest scans your target and unit-test code and writes your missing
multiruby runs anything you want on multiple versions of ruby. Great

  • Test against multiple versions with multiruby.

gem install ZenTest
ERROR: While executing gem … (OpenURI::HTTPError)
404 Not Found

_Kevin
www.sciwerks.com

On Saturday, July 29, 2006, at 11:22 AM, Kevin O. wrote:

autotest, multiruby, and Test::Rails.
corresponding dependent tests.

  • Continually and intelligently test only those files you change
    Changes:
  • Document that autotest doesn’t run the db:test:prepare rake task
    faster now.

_Kevin
www.sciwerks.com


Posted with http://DevLists.com. Sign up and save your mailbox.

working now… thanks!

_Kevin
www.sciwerks.com

le 29/07/2006 09:30, Alexandru P. nous a dit:

Hope there to be no offense,

Honestly, you should ! If you use autotest for more than 5 minutes
you’ll never go back to rake test:stuff, never !

Thanks for these tools Ryan !

Hi Ryan!

Just a friendly advise: if I am visiting [1] and the first read:

I may appreciate your honesty, and your sense of humor, but will
somehow make me think if I really want to play with it :-].

Hope there to be no offense,

./alex

.w( the_mindstorm )p.

[1] http://blog.zenspider.com/archives/zentest/

On Jul 31, 2006, at 1:01 AM, Joe Van D. wrote:

On 7/29/06, Zouplaz [email protected] wrote:

Say, how do I get the Rails view tests to be ran by the default rake
task? autotest runs the view tests, but running ‘rake tests’ doesn’t
run the view tests.

Read “How to convert to Test::Rails” here:

http://zentest.rubyforge.org/classes/Test/Rails.html

The important step is:

Finally, you need to add the extra rake tasks Test::Rails provides.
Add the following line to your Rakefile after you require ?tasks/
rails?:

require ‘test/rails/rake_tasks’

Eric H. - [email protected] - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com

On 7/29/06, Zouplaz [email protected] wrote:

somehow make me think if I really want to play with it :-].

Hope there to be no offense,

Honestly, you should ! If you use autotest for more than 5 minutes
you’ll never go back to rake test:stuff, never !

Thanks for these tools Ryan !

Say, how do I get the Rails view tests to be ran by the default rake
task? autotest runs the view tests, but running ‘rake tests’ doesn’t
run the view tests.

Joe

   + autotest turnaround is now faster.

This is awesome! As a daily autotest user, I immediately notice this :slight_smile: