IBM
Contents Index Previous Next



The Test Configuration


Let us start by specifying the test component configurations needed in the test suite. The conformance standard defines various abstract test methods. For the purposes of this guideline we shall assume that the IUT is a single-layer implementation and that we are testing with the distributed method. Also, we are testing in a multi-party context because our second test purpose requires more than one connection.

In this case, the architecture of Figure 1 says that we need:

This is illustrated in the following figure:

Figure 2 : Illustration of the multi-party distributed test method

In concurrent TTCN this architecture is specified using the following tables:

Case study 1: This table lists all the test components that may be used in the test suite. They can be thought of as building-blocks that can be used to construct different configurations. A test component may have the role of main test component (MTC), or parallel test component (PTC).

Figure 3 : Test Component Declarations

Case study 2: This table shows the configuration for the single-connection test case. In any one configuration there should never be more than one MTC.

Figure 4 : Test Component Configuration Declaration (SINGLE_PARTY)

Case study 3: This table shows the configuration for the multi-connection test case.

Figure 5 : Test Component Configuration (MULTI_PARTY)


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