Showing posts with label Test Report. Show all posts
Showing posts with label Test Report. Show all posts

2011/02/18

Multi-page Reports in Gallio/MbUnit v3.3

While the announcement of a new intermediate release of Gallio/MbUnit is imminent (next week?), we are continuing to focus on the major improvements that will be available in the future versions.

In case you are running Gallio against very large test suites (> 10000 tests), you might be interested by the following new feature. You can experiment it already by installing the latest v3.3 daily build (it's pretty stable already, IMHO)

As you may know, we dropped the XSL-based engine used for the report generation, in favor of high performing VTL templates (based on Castle NVelocity). The generation of the Text/HTML reports (Text, Text-Condensed, Html, Html-Condensed, XHtml, and XHtml-Condensed) is about 3 times faster. But more important, the report writer now supports multi-paging. Say goodbye to the heavy 20Mb reports that take hours to open in the web browser! Gallio is now able to split large reports into several smaller browsable files.



You might configure some parameters from the Gallio Control Panel. It's machine-wide settings that will affect the reports generated by every tool and test runner.

2010/02/16

Gallio test report and TestDriven.Net

If you run usually your tests by using the combination Gallio + TestDriven.Net, then this new feature might interest you. Starting from v3.2.304, it is possible to determine how the test reports are generated by the Gallio test runner for TD.Net.

To achieve that, start the control panel of Gallio; then select the tree node entitled TestDriven.Net » Reports.



For example, you can select the format of the output report (Html, Xml, Text, etc.). Most of the available formats exist in a condensed flavor which omits the passing tests (and thus makes the report shorter and more readable).

An interesting option allows to automatically condense your report when the number of tests is greater than a threshold value. Check the option Auto-Condense Report to enable that functionality.

Once you have run your tests, click on the link at the end of the output log in Visual Studio to open the report.