Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Alternatively, you can specify the output directory for reports with the -report switch. For example:

Code Block
dottestcli.exe -solution "C:\Devel\FooSolution\FooSolution.sln" -config "builtin://Demo" -report "C:\Report" 

Specifying the Report Format

By default, an HTML report is generated. You can reports are generated in HTML format. To generate a PDF report or a report with a custom extension to the specified directory by setting the in a different format, set the report.format property. For example:

Code Block
report.format=pdf

Anchor
custom_report
custom_report
Support for Custom Report Formats

You can customize locally-generated and emailed reports by building a custom XSL transformation that specifies how you want the results formatted. For instance, you could use a custom transformation to map data into the format you need to demonstrate compliance to an internal security policy.

...

  1. Create an XSL file that specifies how you want to transform the XML data.
  2. Specify the location of the XSL file, as well as the extension that should be assigned to the resulting file by configuring the following settings in your .properties file:
    report.format=custom
    report.custom.xsl.file=<full path to the XSL file>
    report.custom.extension=<extension of the resulting file>

    If you perform analysis from your IDE, you can specify the the location of the XSL file and the extension of the resulting file on the Reports preference page; see Generating Reports.

Available Parameters

The following parameters can be used in custom XSL files:

...