Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > [ANN] ZenTest 3.3.0

Reply
Thread Tools

[ANN] ZenTest 3.3.0

 
 
Ryan Davis
Guest
Posts: n/a
 
      07-28-2006
ZenTest version 3.3.0 has been released!

http://www.zenspider.com/ZSS/Products/ZenTest/
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

* 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
autotest.
* Test against multiple versions with multiruby.
* Enhance and automatically audit your rails tests using Test::Rails.
* Includes a LinuxJournal article on testing with ZenTest written by
Pat Eyler.
* See also: http://blog.zenspider.com/archives/zentest/
* See also: http://blog.segment7.net/articles/category/zentest

http://www.zenspider.com/ZSS/Products/ZenTest/

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. )
+ 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:testrepare 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.

http://www.zenspider.com/ZSS/Products/ZenTest/


 
Reply With Quote
 
 
 
 
Kevin Olbrich
Guest
Posts: n/a
 
      07-29-2006

On Saturday, July 29, 2006, at 6:58 AM, Ryan Davis wrote:
>ZenTest version 3.3.0 has been released!
>
> http://www.zenspider.com/ZSS/Products/ZenTest/
> 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
>
>* 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 autotest.
>* Test against multiple versions with multiruby.
>* Enhance and automatically audit your rails tests using Test::Rails.
>* Includes a LinuxJournal article on testing with ZenTest written by
>Pat Eyler.
>* See also: http://blog.zenspider.com/archives/zentest/
>* See also: http://blog.segment7.net/articles/category/zentest
>
> http://www.zenspider.com/ZSS/Products/ZenTest/
>
>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. )
> + 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:testrepare 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.
>
> http://www.zenspider.com/ZSS/Products/ZenTest/
>
>


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


_Kevin
www.sciwerks.com

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

 
Reply With Quote
 
 
 
 
Kevin Olbrich
Guest
Posts: n/a
 
      07-29-2006

On Saturday, July 29, 2006, at 11:22 AM, Kevin Olbrich wrote:
>
>On Saturday, July 29, 2006, at 6:58 AM, Ryan Davis wrote:
>>ZenTest version 3.3.0 has been released!
>>
>> http://www.zenspider.com/ZSS/Products/ZenTest/
>> 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
>>
>>* 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 autotest.
>>* Test against multiple versions with multiruby.
>>* Enhance and automatically audit your rails tests using Test::Rails.
>>* Includes a LinuxJournal article on testing with ZenTest written by
>>Pat Eyler.
>>* See also: http://blog.zenspider.com/archives/zentest/
>>* See also: http://blog.segment7.net/articles/category/zentest
>>
>> http://www.zenspider.com/ZSS/Products/ZenTest/
>>
>>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. )
>> + 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:testrepare 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.
>>
>> http://www.zenspider.com/ZSS/Products/ZenTest/
>>
>>

>
>gem install ZenTest
>ERROR: While executing gem ... (OpenURI::HTTPError)
> 404 Not Found
>
>
>_Kevin
>www.sciwerks.com
>
>--
>Posted with http://DevLists.com. Sign up and save your mailbox.
>


working now.. thanks!

_Kevin
www.sciwerks.com

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

 
Reply With Quote
 
Alexandru Popescu
Guest
Posts: n/a
 
      07-29-2006
Hi Ryan!

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

Quote:
ZenTest version 3.3.0 (aka Project Doesn't Suck) has been released!
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 7/29/06, Ryan Davis <ryand-> wrote:
> ZenTest version 3.3.0 has been released!
>
> http://www.zenspider.com/ZSS/Products/ZenTest/
> 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
>
> * 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
> autotest.
> * Test against multiple versions with multiruby.
> * Enhance and automatically audit your rails tests using Test::Rails.
> * Includes a LinuxJournal article on testing with ZenTest written by
> Pat Eyler.
> * See also: http://blog.zenspider.com/archives/zentest/
> * See also: http://blog.segment7.net/articles/category/zentest
>
> http://www.zenspider.com/ZSS/Products/ZenTest/
>
> 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. )
> + 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:testrepare 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.
>
> http://www.zenspider.com/ZSS/Products/ZenTest/
>
>
>


 
Reply With Quote
 
Zouplaz
Guest
Posts: n/a
 
      07-29-2006
le 29/07/2006 09:30, Alexandru Popescu nous a dit:
> Hi Ryan!
>
> Just a friendly advise: if I am visiting [1] and the first read:
>
>
Quote:
> ZenTest version 3.3.0 (aka Project Doesn't Suck) has been released!
>
>
> 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,


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 !
 
Reply With Quote
 
Joe Van Dyk
Guest
Posts: n/a
 
      07-31-2006
On 7/29/06, Zouplaz <> wrote:
> le 29/07/2006 09:30, Alexandru Popescu nous a dit:
> > Hi Ryan!
> >
> > Just a friendly advise: if I am visiting [1] and the first read:
> >
> >
Quote:
> > ZenTest version 3.3.0 (aka Project Doesn't Suck) has been released!
> >
> >
> > 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,

>
> 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

 
Reply With Quote
 
Eric Hodel
Guest
Posts: n/a
 
      07-31-2006
On Jul 31, 2006, at 1:01 AM, Joe Van Dyk wrote:

> On 7/29/06, Zouplaz <> 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. =20=


> Add the following line to your Rakefile after you require =91tasks/=20
> rails=92:
>
> require 'test/rails/rake_tasks'

--=20
Eric Hodel - - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANN] ZenTest 3.1.0 Released Ryan Davis Ruby 1 03-30-2006 05:18 AM
[ANN] ZenTest 3.0.0 Released Ryan Davis Ruby 3 03-07-2006 11:01 PM
ANN: ZenTest 3.4.0 Released Ryan Davis Ruby 10 10-18-2005 10:44 PM
question about ZenTest Bill Guindon Ruby 3 07-13-2005 09:26 PM
ZenTest 2.3.0 Released Ryan Davis Ruby 1 12-16-2004 05:52 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57