The latest dist of Watir that I installed prints out

        X tests, X assertions, X failures, X errors
        
every time. It's Watir that does the "rolledup" printing, not the
descriptive PUTS calls. Those are just to be pretty and are included in the
middle of the standard out that Watir writes.

Scott Hanselman

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Williams, Kevin
Sent: Friday, July 01, 2005 7:19 AM
To: [email protected]
Subject: RE: [Wtr-general] Getting NUnit XML output from Watir

I'm looking at this now - haven't tried it just yet. The only question I
have, which I assume will be answered when I try it, is what generates
the output that is parsed by the Regex:

@"(?<tests>\d+) tests, (?<assertions>\d+) assertions, (?<failures>\d+)
failures, (?<errors>\d+) errors" 

The Ruby code in the appears to only write "Test Passed" or "Test
Failed!" to the standard output.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Hanselman
Sent: Friday, July 01, 2005 1:04 AM
To: [email protected]
Subject: [Wtr-general] Getting NUnit XML output from Watir

Hello,

 

I'm new here, so forgive my ignorance. I recently discovered Watir for
myself and have done a poorman's integration with NUnit
(http://www.hanselman.com/blog/IntegratingRubyAndWatirWithNUnit.aspx)
but am curious if there's a way to get NUnit "Test Suite" XML so that I
might roll Watir Use Case Tests into my existing NUnit Reporting
infrastructure.


Scott Hanselman

http://www.computerzen.com <http://www.computerzen.com/>   


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to