Panel Name

fwUnitTestComponentTestRunner.pnl

Introduction

This panel allows you to run your unit tests interactively. This is most appropriate at development time. We recommend developing the tests for your component at the same time as you devleop the component itself. To run your tests in the background, i.e. from a command line, you should first download the entire Unit Test Harness and follow the instructions therein.

Instructions

The fwUnitTestComponentTestRunner panel searches for your .ctl test files and displays them and any tests they contain in a tree structure. Your .ctl test files should contain procedure declarations named according to the conventions described in the Unit Testing Design Document.


Buttons on this panel:

Start : Refreshes the tree and runs the tests. The results will be displayed here in this panel and also stored in <PROJ_PATH>/Results/*.xml
Close : Pressing the Close button will close the panel and save your selection of tests-to-run  (i.e. which tests have been ticked). Your selection will be restored next time you reopen this panel.

Refresh TableRefresh Tree : This button updates the tree to display any .ctl test files or tests that have been added or removed.


Assert Statements

The Assert statements available to you to use in your .ctl test files are documented in fwUnitTestComponentAsserts.ctl  See Also:

The example tests in ExampleOfAComponentToBeTested

The full detailed documentation in the Unit Testing Design Document.