Download Real Time Developer Studio: User Manual

Transcript
User Manual
7.3 - TTCN-3 co-simulation
TTCN-3 test suites in SDL projects can be simulated along with the system they test. To
do so, the test itself must be selected and the simulator must be run as described in
“Launching the SDL simulator” on page 223. The system under test described in the test
will also be run automatically. The test suite will be seen as a process in the SDL simulator, and all features will be available, such as MSC tracing, breakpoints, local variables
display, and so on…
There are a few conventions to follow in the test to connect it to the system, and also
some restrictions on the TTCN-3 features that can be simulated. These are detailed in the
next paragraphs.
7.3.1 Conventions
For TTCN-3 tests to be able to communicate with the system under test, some naming
conventions must be followed in the test itself:
• All test cases must run on a component which has a type with the same name as
the SUT. So if your system is named AccessControl, you must have a component type named AccessControl in your test suite, and all test cases must run
on it.
Page 262
Real Time Developer Studio V4.1