Liu, C. 2008, June 3–6, An approach for component testing using TTCN3 and Python. Unpublished paper presented at ETSI TTCN-3 User Conference 2008, Madrid (Spain).
Added by: Deleted user (8/22/08, 10:54 AM)
|Resource type: Conference Paper
BibTeX citation key: Liu
View all bibliographic details
Publisher: MTP, ETSI (Madrid (Spain))
Collection: ETSI TTCN-3 User Conference 2008
Component testing is very important for telecommunications equipment vendor. This article provide a method for component testing by using TTCN-3 and Python. The method includes Testbed Preparation and Testing Execution.
Firstly, The symbol information of SUT（system under test）is generated from the header file and stored in middle data file. The symbol information is the main INPUT for executing the testing scripts. Secondly, the middle source file including symbol information, MT agent module file and the lib file under test are compiled into the final SUT. The MT agent module includes a Python interpretor to execute the python code.
The Tester write the test scripts using TTCN-3 and Python. The Python code control the SUT behavior by modifying stub’s behavior, such as setting up and stopping stub. The Python code is embedded into the TTCN-3 scripts and transferred to the MT agent module of SUT. The MT agent interpret the python code and return the result to tester.
Added by: Deleted user Last edited by: Deleted user