![]() |
![]() |
![]() |
![]() |
![]() |
Introduction to the TTCN Suite
The TTCN Suite can be used for development, specification and compilation of test system components in the TTCN language. The functionality included will be described below.
The TTCN Suite supports all of the standardized, non-compact tables that are defined in ISO/IEC 9646-3. The compact test case dynamic behaviour table (ISO/IEC 9646-3, clause C.3) and concurrent TTCN tables are also supported. The compact tables for constraints (also in Annex C of ISO/IEC 9646-3) are not supported.
The general user interface concepts and common menu choices are described in chapter 1, User Interface and Basic Operations.
Different Views of the TTCN Document
The contents of a TTCN test suite can be viewed in the Browser, the Finder and the Table Editor:
- The Browser presents an overview of the TTCN tables. In the Browser it is possible to edit the TTCN table structure, to determine which parts of the test system component to view and to apply a number of operations on it. See "Using the Browser" on page 1257.
- The Table Editor presents TTCN tables for editing, referencing, and a number of table-specific operations. See "Editing Tables" on page 1266.
- The Finder presents a non-hierarchical view of the TTCN tables. Subsets of the total set of tables can be extracted, sorted according to various rules, and a number of operations can be performed on the resulting set of tables. See "Finding and Sorting Tables" on page 1286.
The Log Manager gives another view of the test suite. It presents log outputs from the currently loaded test system components. Information from various operations, such as analysis and simulation, will appear in the test component log in the Log Manager. See "Viewing Log Information" on page 1283.
Functionality to Apply on the TTCN Document
Building Test Components and Tables
- The Data Dictionary is used in conjunction with the Table Editor, and offers an easy way to build TTCN behavior statements from the declared test system components. For more information, see "Creating Behaviour Lines" on page 1273.
- SDL to TTCN Link is similar in use and appearance to the Data Dictionary. It utilizes a Link executable for an SDL system to interactively build the behavior of a TTCN test for that particular system. For more information, see chapter 35, TTCN Test Suite Generation.
- Autolink supports semi-automatic generation of TTCN test suites based on SDL specifications. For more information, see chapter 35, TTCN Test Suite Generation. The menu choice Autolink Merge in the File menu may be used for merging Autolink generated MP files into an opened test suite.
Analyzing, Verifying and Executing a Test
- The Analyzer verifies syntactic correctness of test components. For more information, see chapter 31, Analyzing TTCN Documents (in Windows).
- The TTCN to C compiler generates C code from TTCN. For more information, see chapter 32, The TTCN to C Compiler (in Windows).
- The Generic Compiler Interpreter interface is an interface for the adaption of the generated code to a specific target environment. For more information, see chapter 36, Adaptation of Generated Code.
- The Simulator allows execution and interactive debugging of test systems. For more information, see chapter 33, The SDL and TTCN Integrated Simulator (W).
Starting the TTCN Suite
You can start the TTCN Suite from the Organizer in the following ways:
- Select Tools > Editors > TTCN Browser in the Organizer. This will also add an untitled TTCN document in the Organizer.
- Double-click on a TTCN document icon already included and connected in the Organizer (or select Edit from the Edit menu).
- Add a new TTCN document to the Organizer and make sure that the option Show in editor is checked in the Add New dialog.
- Add an existing TTCN document to the Organizer.
http://www.ibm.com/rational |
![]() |
![]() |
![]() |
![]() |