![]() |
![]() |
![]() |
![]() |
![]() |
Generating the Test Suite Overview Tables
The TTCN Suite generates the contents of the Test Suite Overview tables (i.e. The Test Suite Structure, Test Case Index, Test Step Index and Default Index tables) and the TTCN Module Overview (i.e. The TTCN Module Structure and the index tables).
These tables are not editable. The extra information that they require (such as references to selection expressions and descriptions) are entered at the corresponding table rather than in the Test Suite Overview tables. This ensures consistency between the TTCN document and the contents of the Test Suite Overview.
Selection Expressions
The Test Case Dynamic Behaviour table displayed by the TTCN Table Editor has an additional field in the table header called: Selection Ref.
This field is used to hold the reference to a Selection Expression (if any) declared in the Test Case Selection Expression Definitions table. This reference will then appear in the Selection Ref column of the Test Case Index when the index is generated using the Generate tool.
If the Selection Reference needs to be edited this must be done in the relevant Test Case table and not in the Test Case Index table (which cannot be edited). The Test Suite Overview (or the TTCN Module Overview) must be re-generated in order to update any changes.
The additional Selection Ref field in the Test Case header is not printed in the TTCN-GR form. It is however exported in the TTCN Suite specific MP format.
Test Case, Test Step and Default Descriptions
The Test Case, the Test Step and the Default Dynamic Behaviour tables displayed by the TTCN Table Editor have an additional field in the table header called Description.
The Description field is used to hold the description of the behaviour table, which in many cases may simply be a copy or a shortened form of the Test Purpose or Test Step or Default Objective. This description will then appear in the Description column of the relevant index when it is generated using the Generate Overview tool.
If the Description needs to be edited this must be done in the relevant behaviour table and not in the index tables (which cannot be edited). The Test Suite Overview (or the TTCN Module Overview) must be re-generated in order to update any changes.
The additional Description field in the Test Case, Test Step and Default headers is not printed in the TTCN-GR form. It is however exported in the TTCN Suite specific MP format.
The Group Table
The TTCN Browser supports additional non-standard tables for groups. These tables are: the Test Group table, the Test Step Group table and the Default Group table. None of these tables are printed in the TTCN-GR form.
The Test Group table has two fields in its header that are used to hold information for the Test Suite Structure table. These fields are: Selection Ref and Test Group Objective.
The Selection Ref field is used to hold a reference to a Selection Expression (if any) declared in the Test Case Selection Expression Definitions table. This reference will then appear in the Selection Ref column of the Test Suite Structure when it is generated using the Generate tool.
The Test Group Objective field is used to hold the description of the Test Group. This description will then appear in the Test Group Objective column of the Test Suite Structure when it is generated using the Generate tool.
If either the Selection Reference or the Test Group Objective needs to be edited this must be done in the relevant Test Group table and not in the Test Suite Structure table (which cannot be edited). The Test Suite Overview must be re-generated in order to update any changes.
All of these fields are exported in the TTCN Suite specific MP format.
Generation of the Test Suite Overview and Indices
The Generate tool is available from the Tools menu in the Browser and the Tools menu in the Table Editor. Unlike other tools it does not require a selection: it always applies to the entire TTCN document and its action is the same whether it is invoked from a Browser or from a Table Editor.
Tools > Generate SO
- The Log Device option controls the log device for the Generate tool. The default value is Screen, but the log can be directed to a named file by choosing File or turn it off altogether by choosing None.
- For a full description of this command see The TTCN Suite Logs.
- The First Page Number option enables setting the first page number of the TTCN document. The default value is 1.
http://www.ibm.com/rational |
![]() |
![]() |
![]() |
![]() |