摘要
TTCN-3(Testing and Test Control Notation version 3)是一种形式化的测试描述语言,被广泛应用于协议测试等领域。由于测试套的复杂度越来越高,测试人员迫切需要能够调试TTCN-3语言的技术。本文提出了一种非侵入式的TTCN-3语言调试方法,通过驱动第三方调试器对TTCN-3语言编译后生成的目标代码进行调试,同时结合语句映射和符号解析等算法,实现了基本的调试功能。实验结果表明,该调试技术对测试系统的执行性能影响非常小,能更好的满足对大型测试套的调试需求。
TTCN-3 (Testing and Test Control Notation Version 3) is a formalized testing description language, which is widely used in protocol testing and other testing fields. As TTCN-3 test suites are more and more complex, it becomes difficult for testers to locate the place which causes testing failures without debugger's help. This paper presents a non-intrusive TTCN-3 debugging method which uses third-party debugger to debug TTCN-3 complier generated target code. In addition, the method integrates statement mapping and symbol analysis algorithms to implement basic debugging functionality. Experiments show that this method imposes little influence on testing system and has a better performance while debugging large-scale test suite.
出处
《计算机系统应用》
2012年第6期51-54,共4页
Computer Systems & Applications
基金
中央高校基本科研业务费专项资金(WK0110000007)