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.

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

Please help me.

gem install test-unit

require ‘rubygems’
gem ‘test-unit’
require ‘test/unit’

assert_raise_message

Regards,

Dan