...
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 |
- See report.format for a list of supported format values. For a detailed description of each format, see Report Formats.
- Additional configuration is required to generate a report with a custom extension. See Support for Custom Report Formats.
| Anchor | ||||
|---|---|---|---|---|
|
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.
...
- Create an XSL file that specifies how you want to transform the XML data.
- 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=customreport.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:
...