Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Create Report VI

LabVIEW 2013 Unit Test Framework Toolkit Help

Edition Date: June 2013

Part Number: 372584F-01

»View Product Info
Download Help (Windows Only)

Owning Palette: Unit Test Framework VIs

Requires: Unit Test Framework Toolkit

Generates a report after test execution. You can generate this report in HTML, Automatic Test Markup Language (ATML), or ASCII format.

Examples

CSS file path specifies the path to the Cascading Style Sheet (CSS) file this VI uses to customize HTML reports.
view report? specifies whether to display the report after test execution. If you do not display the report after test execution, you can view the report by navigating to the report path you specified. The default is TRUE.
test results in contains the results of the test execution from using either the Run Tests from File VI or Run Tests from Project VI.
report path specifies the path to which LabVIEW saves the generated report file. The default is My Documents\LabVIEW Data.
report type specifies the type of report this VI generates.

1ASCII (tab-delimited)
2HTML (default)
3ATML (XML-based)
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
display by specifies whether to display the test results according to the names of the tests or the names of the VIs.

1VI name
2Test name (default)
report settings specifies the contents of the test report.
summary? specifies whether to include the Test Summary section in the test report. The default is TRUE.
passed? specifies whether to include the Passed section in the Test Results section of the test report. The default is TRUE.
passed details? specifies whether to include the details of the Passed section in the Test Details section of the test report. The default is FALSE.
failed? specifies whether to include the Failed section in the Test Results section of the test report. The default is TRUE.
failed details? specifies whether to include the details of the Failed section in the Test Details section of the test report. The default is FALSE.
skipped? specifies whether to include the Skipped section in the Test Results section of the test report. The default is TRUE.
error? specifies whether to include the Error section in the Test Results section of the test report. The default is TRUE.
error details? specifies whether to include the details of the Error section in the Test Details section of the test report. The default is FALSE.
test results out returns the test results in unchanged.
error out contains error information. This output provides standard error out functionality.

Examples

Refer to the following VIs for examples of using the Create Report VI:

  • Programmatically Run Tests from File VI: labview\examples\Unit Test Framework\Programmatic Tests
  • Programmatically Run Tests from Project VI: labview\examples\Unit Test Framework\Programmatic Tests

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit