摘要
随着软件系统变得越来越复杂和庞大,如何对它进行快速有效的测试已经成为现在的一大热点。通过将Agent技术引入软件测试过程,设计了一种基于多Agent的软件测试系统。该系统由界面Agent模块、预处理Agent模块、程序插桩Agent模块和动态测试信息分析Agent模块组成,实现了软件语句和分支覆盖率的测试及查询覆盖率不满足要求时未覆盖目标的情况。有效地解决了传统手工测试程序运行效率低、繁琐等一些问题,保证了软件系统高效稳定的运行。
It is a hot topic to test software quickly and effectively as software systems become increasingly complex.Design an intelligent software testing system which brings Agent technology into software testing process.The system consists of interface Agent module,pretreatment Agent module,program Agent instrumentation module and active testing information analysis Agent module,it mainly realized the testing of the code coverage and branch coverage of the software,besides,it can also inquire the condition of uncoveraged target when the coveragement cannot satisfy the requirement.This method has effectively solved the problems of the traditional manual testing program operation inefficient and verbose and ensured the software system of highly efficient and stable operation.
出处
《计算机技术与发展》
2011年第4期37-39,43,共4页
Computer Technology and Development
基金
国家自然科学基金(60674100)
关键词
软件测试
Agent模块
词法语法分析
程序插桩
覆盖测试
software testing
agent modules
iexical and grammar analysis
program instrumentation
coverage test