基于UML的面向对象软件测试系统  被引量:5

OO Software Testing System Based on UML

在线阅读下载全文

作  者:张保卫[1] 张毅坤[1] 赵明[1] 崔杜武[1] 

机构地区:[1]西安理工大学计算机科学与工程学院,西安710048

出  处:《计算机工程》2005年第6期70-72,215,共4页Computer Engineering

基  金:陕西省教育厅科研基金资助项目(00JK265)

摘  要:设计和实现了一个基于UML的C++测试集成开发环境CppTestIDE。它以基于UML的分析设计规约文档作为OO软件测试的重要依据,通过对UML文档的词法语法分析,提取类状态机信息;采用手工和自动生成测试用例;并根据生成的测试用例构造驱动模块,生成测试装置。同时,对源代码插装,以便度量代码覆盖率。在此基础上,编译测试装置和源代码,生成测试装置执行文件。最后,驱动测试装置执行文件,分析测试结果,生成测试报告。The paper discusses the procedures of designing and developing an UML-based testing tool - CppTestIDE (C++ Test Integrated Development Environment). According to UML-based OOA/D specification, the tool can pick up class state-machine, generate testing case by handcraft and automation, construct and generate a testing instruction. And the tool can insert some probe function into source code for measuring code coverage. On the basis, the tool generates an executable file through compiling testing instruction and source code. Finally, it runs the executable file by testing driver, analyzes test result and generates a test report.

关 键 词:软件测试 UML状态图 插装器 测试驱动器 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象