摘要
在测试系统应用研究的基础上,分析TTCN-3测试系统结构,提出适用于软件测试和协议测试的TTCN-3测试套开发模式。该模式借鉴设计模式和模板库思想,在设计和重用抽象测试套和可执行测试套两方面有所突破,可以显著提高测试系统的可复用性和可扩展性,缩短测试系统的开发周期。结合GSM的移动应用部分(MAP)协议栈测试为例,说明该测试套开发模式的实际应用。
Based on the research of the application of test system, the architecture of testing and test control notation version 3 (TTCN-3) test system is analyzed and the concept of the test pattern in TTCN-3 is presented, which can be used in software testing and protocol testing. The test pattern is based on the theory of design pattern and template library, and has broken through in reusable abstract tests and the executable tests. The aim of the test pattern is to decrease the period of the development of the test system and to enable an easy reusable extension and customization of predefined test data. Finally, a mobile application part (MAP) example demonstrates the practical application of the test pattern framework.
出处
《计算机辅助工程》
2005年第2期21-25,共5页
Computer Aided Engineering
关键词
TTCN-3
开发模式
移动应用部分
测试方法
testing and test control notation version 3 (TTCN-3)
test pattern
mobile application part (MAP)
test method