![]() |
![]() |
![]() |
![]() |
![]() |
Structure of a TTCN Test Suite
Each TTCN object has a specific position in the hierarchy of the test suite.
Parts of a Test Suite
The different test suite components may only appear in a specific order. A TTCN test suite consists of four parts:
Each part contains a number of TTCN tables. The order in which the tables appear is shown in the following list. Each bulleted item in this list represents a TTCN table. The tables that have number subscripts are tables for single TTCN objects, e.g. PDUs and test cases. The tables that do not have a subscript are multiple TTCN object tables, e.g. simple type definitions or test suite variables.
Some tables may be displayed in a compact format. Tables printed in italic font are defined in the TTCN extensions.
Suite Overview Part
The test suite overview consists of four tables:
Declarations Part
The declarations part is concerned both with the definition of new (i.e. not predefined) data types and operations and the declaration of all the test suite components.
- Test Component Declarations
- Test Component Configuration Declarations
- Simple Type Definitions
- Structured Type Definition1
- :
- ASN.1 Type Definition1
- :
- ASN.1 Type Definitions By Reference
- Test Suite Operation Definition1
- :
- Test Suite Parameter Declarations
- Test Case Selection Expression Definitions
- Test Suite Constant Declarations
- Test Suite Variable Declarations
- Test Case Variable Declarations
- PCO Declarations
- CP Declarations
- Timer Declarations
- ASP Type Definition1
- :
- ASN.1 ASP Type Definition1
- :
- ASN.1 ASP Type Definitions By Reference
- PDU Type Definition1
- :
- ASN.1 PDU Type Definition1
- :
- ASN.1 PDU Type Definitions By Reference
- TTCN CM Type Definition1
- :
- ASN.1 CM Type Definition1
- :
- Alias Declarations
Constraints Part
The constraints part contains the tables for all the ASP, PDU, structure and CM constraints. Both in the tabular form and the ASN.1.
ASP Constraints may displayed in a compact format if wished.
ASN.1 ASP Constraints may displayed in a compact format if wished.
PDU Constraints may displayed in a compact format if wished.
ASN.1 PDUConstraints may displayed in a compact format if wished.
Structured Type Constraints may displayed in a compact format if wished.
ASN.1 Type Constraints may displayed in a compact format if wished.
Dynamic Part
The dynamic part contains all the test cases, all the test steps in the test step library and the all the defaults in the default library.
Test groups, i.e. the test suite structure, are not represented here. Test cases may displayed in a compact format if wished.
http://www.ibm.com/rational |
![]() |
![]() |
![]() |
![]() |