Title :
A Method to Automatically Generate Codec Based TTCN-3 to Software Testing
Author :
Sun, Meng ; Zou, Fengyi ; Ma, Jun ; Shi, Huiling
Author_Institution :
Shandong Comput. Sci. Center, Shandong Acad. of Sci., Jinan, China
Abstract :
When doing test activities using TTCN-3, achieving Codec needs testers to write a lot of codes. In order to reduce testing cost, this paper proposes a method to automatically generate Codec. The method firstly defines an abstract model for TTCN-3 test suites, TTCN-3 type tree, and then, we issue the method contains three algorithms, including the algorithm of establishing TTCN-3 type tree according to the TTCN-3 Test Suites, the algorithm of encoding each node according to the preorder traversal sequence, the algorithm of decoding each node according to the postorder traversal sequence. The method is applicable to all TTCN-3 test suites and greatly improves test efficiency. At last, an example, an information manage system developed by .net, demonstrates that the method is usable and high efficient.
Keywords :
authoring languages; codecs; information management; program testing; .net; TTCN-3 test suites; TTCN-3 type tree; codec based TTCN-3; information manage system; postorder traversal sequence; preorder traversal sequence; software testing; Application software; Automatic testing; Codecs; Computer science; Decoding; Encoding; Software testing; System testing; Telecommunication standards; Tellurium; Codec; TTCN-3; TTCN-3 test suite; TTCN-3 type tree; automatically generate Codec;
Conference_Titel :
Communication Software and Networks, 2010. ICCSN '10. Second International Conference on
Conference_Location :
Singapore
Print_ISBN :
978-1-4244-5726-7
Electronic_ISBN :
978-1-4244-5727-4
DOI :
10.1109/ICCSN.2010.22