Capture standard Error and failure of ruby unit test

Hi,
I would like to capture standard failure and standard error message of
testcases executed using ruby unit test framework.

is there any plugin to capture failure and error?
how can i capture error and failure.

Please help me.

Thanks,
Anil kumar.

···

--
Posted via http://www.ruby-forum.com/.

gem install test-unit

require 'rubygems'
gem 'test-unit'
require 'test/unit'

assert_raise_message

Regards,

Dan

···

-----Original Message-----
From: nlkmr36@gmail.com [mailto:nlkmr36@gmail.com]
Sent: Thursday, June 18, 2009 9:29 AM
To: ruby-talk ML
Subject: Capture standard Error and failure of ruby unit test

Hi,
I would like to capture standard failure and standard error message of
testcases executed using ruby unit test framework.

is there any plugin to capture failure and error?
how can i capture error and failure.

Please help me.