摘要
为了减少软件测试的工作量,提高软件测试的效率.非常有必要开发计算机辅助的软件测试工具。本文基于已经实现的分别面向C/C^(++)和Visual Basic语言的计算机辅助软件测试工具为基础,介绍了面向对象软件测试引肇的设计和实现。该引擎以中间数据库为核心,使用语言分析器对源程序进行基于块的划分,然后完成代码插装和编译连接,为自动测试模块提供可执行的经过代码插装的程序而不是源代码,从而提高了测试工具的通用性和重用性。
It is necessary to develop a computer-aided software testing tool to enhance testing efficiency and reduce testing cost. On the basis of two developed testing tools for the Visual Basic and C/C^(++)language respectively, this paper introduces the design and implementation of the object-oriented software-testing engine. The programs are di-vided into a sequence of blocks and then instrumented and compiled in this engine by the program analyzer, the test data is saved in the medium database that is the kernel of the engine. The testing engine, which acts as an agency, as-sociates the testing automation module with instrumented executable program rather than the source code and makes the test tool can be reused conveniently by modifying the program analyzer only.
出处
《计算机科学》
CSCD
北大核心
2004年第7期137-140,共4页
Computer Science
基金
国家自然科学基金(项目编号60073027)