[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Better Automated TestRunner

David Corbin

2/18/2005 1:07:00 PM

Is there a a better TestRunner for automated execution and reporting?
Off the cuff, here would be some ideal features:
* nothing written to stdout/stderr
* exit code indicates "all passed" or "not"
* can produce 'reports' in text format, HTML, or XML
* reports might be just a summary, a failure details or details for
all tests.

David


1 Answer

Eric Hodel

2/18/2005 6:38:00 PM

0

On 18 Feb 2005, at 05:06, David Corbin wrote:

> Is there a a better TestRunner for automated execution and reporting?
> Off the cuff, here would be some ideal features:
> * nothing written to stdout/stderr

Shell redirection can do this.

> * exit code indicates "all passed" or "not"

The console test runner can do that.

> * can produce 'reports' in text format, HTML, or XML

--verbose=verbose gives you nice text format output.

If that's not good enough, test/unit/ui/console/testrunner.rb is pretty
darn simple.

> * reports might be just a summary, a failure details or
> details for
> all tests.

See --verbose, most of these options are already covered for you.

--
Eric Hodel - drbrain@segment7.net - http://se...
FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04