摘要: 根据一种软件可测性设计技术——软件内建自测试的实施方案,该文提出了一种针对C++类测试的测试描述语言TDL,以提高C++类测试数据的存储结构化,方便其共享和复用。重点讨论了TDL语言的核心对象和结构,并给出了一个TDL程序的实例。
关键词:
面向对象软件测试,
可测性设计,
软件内建自测试,
测试用例,
测试语言
Abstract: This paper proposes a new test description language (TDL) for C++ class in a built-in self-test system for software in which a new kind of design for testability of software is studied. Current class testing practices focus on software specifications. As a result, most tool development on test automation has concentrated on class specification language rather than test description language. TDL aims at heightening the structural storage of test data and improving their reuse and share. Much discussion and an example are given to explain how to write a TDL program and what the key components and their architecture are.
中图分类号:
宋春明,徐拾义. C++类测试描述语言的设计和实现[J]. , 2004, 30(12): 79-81.
SONG Chunming,XU Shiyi. Design and Implementation of Test Description Language for C++ Class[J]. , 2004, 30(12): 79-81.