Capture standard Error and failure of ruby unit test

A

Anil Gollaa

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

Daniel Berger

-----Original Message-----
From: (e-mail address removed) [mailto:[email protected]]
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.

gem install test-unit

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

assert_raise_message

Regards,

Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top