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

Customizing Test Reports (Unit Test Framework Toolkit)

LabVIEW 2013 Unit Test Framework Toolkit Help

Edition Date: June 2013

Part Number: 372584F-01

»View Product Info
Download Help (Windows Only)

You can customize test reports by specifying the contents of the reports. You also can format HTML reports by using a Cascading Style Sheet (CSS) file.

Related Information

Test Reports

Customizing Report Contents

Complete the following steps to specify the types of results to include in test reports.

  1. Open the LabVIEW project that contains the files on which you want to perform unit testing.
  2. Click the Project Properties button on the Project toolbar to display the Project Properties dialog box.
  3. Select Unit Test Framework from the Category list to display the Unit Test Framework page.
  4. Place a checkmark in the checkbox of each type of results you want to include in test reports.
  5. Click the OK button to close the dialog box and return to the Project Explorer window.

Formatting HTML Reports

Complete the following steps to format HTML reports by using a CSS file.

  1. Open the LabVIEW project that contains the files on which you want to perform unit testing.
  2. Click the Project Properties button on the Project toolbar to display the Project Properties dialog box.
  3. Select Unit Test Framework from the Category list to display the Unit Test Framework page.
  4. Make sure the Generate HTML report checkbox contains a checkmark.
  5. In the Report Details section, place a checkmark in the Use user-defined CSS file checkbox.
  6. Click the Browse button next to the CSS file path text box. A file dialog box appears.
  7. Navigate to and select the CSS file you want to use to customize HTML reports. Click the OK button.
  8. Click the OK button to close the dialog box and return to the Project Explorer window.

 

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