Hi there,
I had the same problem.
To fix it I import:
require 'test/unit/testsuite'
require 'test/unit/testsuite'
require 'test/unit/ui/reporter'
require 'fileutils'
require 'test/unit/collector/objectspace'
.
In my setup file ( I have a setup file defined which is called by all
test suit
polleu wrote
I had the same problem.
Just this second, I was going to post back. I included this
require 'stringio'
(as someone did mention), and the code ran.
code example:
snip
require 'test/unit'
require 'test/unit/ui/reporter'
require 'test/unit/ui/console/testrunner'
require 'stringio'
')
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian Rutter
Sent: Thursday, June 08, 2006 10:33 AM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Test::Unit Reports?
Hi,
Please forgive my ignorance of unit test suites
I have successfully
('build/report')
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian Rutter
Sent: Thursday, June 08, 2006 10:33 AM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Test::Unit Reports?
Hi,
Please forgive my ignorance of unit test suites
I have
Hi,
Thanks for getting back to me.
This is where I am with comments
#require 'test/unit' #I was under the impression that this would
automatically import the two requires below
require 'test/unit/ui/reporter'
require 'test/unit/ui/console/testrunner'
require 'tc_1'
require 'tc_2'
class
Hi,
Is there anything about that sits on top of Test::Unit to produce - for
example - html reports, or would it be better to log to XML, then XSLT it?
Thank You
Aidy
---
This message
Chris and I were just talking about this yesterday: http://rubyforge.org/projects/test-report/Reports in html or xml. -Charley
On 6/7/06, Adrian Rutter [EMAIL PROTECTED] wrote:
Hi,Is there anything about that sits on top of Test::Unit to produce - forexample - html reports, or would it be better
Of Adrian Rutter
Sent: Wednesday, June 07, 2006 12:24 PM
To: wtr-general@rubyforge.org
Subject: [Wtr-general] Test::Unit Reports?
Hi,
Is there anything about that sits on top of Test::Unit to produce - for
example - html reports, or would it be better to log to XML, then XSLT
it?
Thank You
Aidy
I think you need to require 'stringio' for it to work, but aside from
that it's pretty straightforwad.
Alex fixed this in 'trunk'.
-Chris
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general