IBM
Contents Index Previous Next



Introduction to the TTCN to C Compiler


When developing new systems or implementations of any kind, the developing process is divided into well defined phases. Most commonly, the first phases involve some kind of specification and abstract design of the new system. After a while, the implementation phase is entered and finally, when all parts are joined together, the test phase is activated.

In any case when a system is tested, we want to make sure that its behavior conforms to a set of well defined rules. TTCN was developed for the specification of test sequences. Unfortunately, as very few systems interpret or compile pure TTCN, we need to translate the TTCN notation into a language which can be compiled and executed. In the case of the TTCN Suite, the TTCN to C compiler translates TTCN to ANSI-C.

Even after the TTCN code has been translated, there are a couple of things that need to be taken care of. In this case, we must adapt the generated code with the system it intends to test. This chapter describes how the TTCN to C compiler is used. The adaption process is described in chapter 36, Adaptation of Generated Code.


http://www.ibm.com/rational
Contents Index Previous Next