|
This page last changed on Jul 12, 2005 by jflowers.
Description of the report support in MbUnit
MbUnit has a built-in support for test results. All results can be serialized to Xml (XmlReport), Html (HtmlReport), text (TextReport) or doxyfied (DoxReport). Since report serialization is built using XmlSerialization, you can also load reports to a .Net type.
Reports contains the test results are sorted by assembly, namespace, fixture. For each level, the following quantities are summarized with a counter:
- number of successful tests,
- number of failed tests,
- number of ignored tests,
- number of skipped tests
- duration in seconds
QuickStart
The Report class (MbUnit.Core.Reports) contains static helper classes that can be used to quickly output reports:
ReportResult result = ...;
string fileName = Report.RenderToHtml(result);
Process.Start(fileName);
|