Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Create Report VI

LabVIEW 2009 Unit Test Framework Toolkit Help

Edition Date: June 2009

Part Number: 372584B-01

»View Product Info

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 (no error) 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 Summary data section in the test report. The default is TRUE.
passed? specifies whether to include the Passed tests section in the test report. The default is TRUE.
passed details? specifies whether to include the details of the Passed tests section in the test report. The default is FALSE.
failed? specifies whether to include the Failed tests section in the test report. The default is TRUE.
failed details? specifies whether to include the details of the Failed tests section in the test report. The default is FALSE.
skipped? specifies whether to include the Skipped tests section in the test report. The default is TRUE.
error? specifies whether to include the Errors section in the test report. The default is TRUE.
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:

  • Run Tests from File VI: labview\examples\Unit Test Framework\Programmatic Tests
  • 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