Unlike the PlainTextResultFormatter, the XmlResultFormatter in NUnitTask
doesn't list the total number of errors and failures in a test suite. It
seems whoever wrote it did think about it, as the definition for the error
and failure attributes to testsuite are there, but are never created.

Fixing it, though, is easy: Just add the following lines:
_suiteElement.SetAttribute(AttributeErrors , result.ErrorCount.ToString());
_suiteElement.SetAttribute(AttributeFailures ,
result.FailureCount.ToString());

At line 85 of XmlResultFormatter.cs (the second line in EndTestSuite).
Could someone commit this? That'd be great....

--
Tomas Restrepo
[EMAIL PROTECTED]


_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to