Managing Concurrency and Parallel Testing with TTCN-3 Telelogic ...
Managing Concurrency and Parallel Testing with TTCN-3 Telelogic ...
Managing Concurrency and Parallel Testing with TTCN-3 Telelogic ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Tips <strong>and</strong> Guidelines• There is no need to explicitly passed PTC verdicts to the MTCusing coordination messages– A global verdict is automatically maintained by the MTC– The global verdict is updated whenever a component terminates– Remember: Verdict never improve– Make the <strong>TTCN</strong>-3 script more readable39© <strong>Telelogic</strong> AB<strong>Testing</strong> Concept: Self-test of Test Cases• Use <strong>Concurrency</strong> to perform aself-test of a test case– All behavior is encapsulated in afunction. In the normal case, thisfunction is simply called in theMTC– For Self-<strong>Testing</strong>, a Simulation ofeach of the SUT Ports isimplemented in one or more<strong>Parallel</strong> Test Components (PTCs).They are connected to the MTCports– Since the Test System Interfacecan be left empty, SUT Adaptationis not needed for the self-test testsuiteNormalTest systemTest System InterfaceSUTSelftestTest systemPTC (Simu1)PTC (Simu2)Behavior_function()Test System InterfaceMTCBehavior_function()MTC40© <strong>Telelogic</strong> AB