摘要软件测试是软件质量保证的关键环节,和传统软件测试相比,面向对象软件测试更加复杂。面向对象集成测试的重点在于检测消息能否正确地激活方法的执行,方法/消息序列是否合法等问题。MM路径的生成是基于MM路径集成测试的基础和关键。本论文介绍面向对象集成测试,重点分析集成测试中的MM路径。研究基于MM路径的测试用例自动生成技术,开发自动化测试用例生成工具。通过对源代码的词法和语法进行分析,获取相关分支和调用信息,实现了MM路径的自动生成。10516
关键词:MM路径,测试用例,面向对象集成测试
Title : Automated technology of test case generation based on MM path
Abstract
Software testing is a key phase of software quality assurance, object-oriented software testing is different from traditional software testing,it is more complex.Object-oriented integration testing emphasizes on the problems such as whether the performances of the activating methods are right and whether the order of methods or messages is legal.Generation of MM path is a key to integration testing based on MM path. This paper describes the object-oriented integration testing, placing emphasis on MM path . We make research on automated technology of test case generation based on MM path, and develop a tool for test case generation. Through analyzing the morphology and syntax of source code, we get the relevant branches and call information and automatically generate the MM path.
KEY WORDS:MM path,test case,object-oriented integration testing
目 次