节点文献
关键字驱动测试框架的研究与实现
Research and implementation of keyword-driven test framework
【摘要】 为有效解决C++接口测试问题,研究了自动化测试框架的原理和技术。基于关键字驱动方法,通过对目前C++接口测试工具使用复杂、测试脚本脆弱等特点的分析和研究,提出一个具有高易用性和灵活性的测试框架,通过解析由关键字定义的测试描述文件和多种格式的数据文件,自动生成可执行的C++测试代码。测试人员只需编写少量测试代码和数据,即可实现复杂的测试。在实际应用中减少了测试人员工作量,降低了测试成本,取得了很好的效果。
【Abstract】 To resolve the problem of C++ application interface testing,a research of technology of automated testing is given.According to the keyword-driven automated test technology,by the analysis and research of the characteristic of C++ testing tools,which are not easy to use and frangible of test script,an easy-use test framework is designed.The testers are able to complete complicated test by writing a few code and data.The framework has good result obtained in practical application which is able to decrease both the work and cost of test action.
【Key words】 automated testing; C++ interface testing; keyword-driven; table-driven; software testing;
- 【文献出处】 计算机工程与设计 ,Computer Engineering and Design , 编辑部邮箱 ,2010年10期
- 【分类号】TP311.52
- 【被引频次】38
- 【下载频次】243