节点文献
基于EJB构件系统的集成测试方法研究
Integration Testing Research for EJB Component-Based System
【作者】 夏辉;
【导师】 张毅坤;
【作者基本信息】 西安理工大学 , 计算机应用技术, 2006, 硕士
【摘要】 基于构件的软件开发得到了广泛地应用,而构件系统的测试仍然面临着许多问题,本文主要对构件系统集成测试的测试用例生成进行了研究。构件系统测试和面向对象系统测试既有相似之处也有不同之处。构件系统测试的重点很少需要考虑面向对象的部分特征,如继承性、多态性和动态绑定,而是放在软件的结构、状态和交互上。本文主要探讨了基于EJB构件系统集成测试中的配置测试、构件状态测试和构件交互测试。在构件配置测试中,本文分析了构件配置的类型,针对构件配置产生错误的特点,提出了对配置文件利用变异测试技术进行测试。在构件状态测试中,由于构件的状态变量和依赖于状态的行为可能处于不同的构件中,本文详细描述了如何从构件规格说明和接口中提取和分析状态测试所需信息,并生成测试树。通过测试树自动生成测试用例。在构件交互测试中,本文根据Ye Wu提出的构件测试四要素,通过CIG图生成测试用例。由于CIG图不能表示内容依赖关系,本文提出了通过SBCIM模型产生测试用例。最后,本文讨论了目前构件集成测试依然存在的问题,并提出了今后的研究重点和方法,为今后本方向的研究提供了参考。
【Abstract】 The component-based software development has been adopted rapidly, but component-based system testing still faces a lot of questions. Therefore, this paper researchs on test case generation in integration testing of component-based system..There are some relationship between component-based systems and OO-based systems in testing. OO system testing takes important in its characteristics ,such as hereditability polymorphism and dynamic banding, but component-based system testing usually focuses on software structure、state and interaction. This paper mainly researchs on component configuration testing、state testing and interaction testing. In configuration testing, this paper analyses types of configuration. Mutation testing is used to component configuration feature. Because of separate of state variable and behavior, this paper depict how to catch test information from component specification and interface and generate test trees in component state testing. Test cases can automatic generated by test trees. In component interaction testing, test cases is obtained by CIG according to four component testing element. But because of content relationship is not easy to reflect in CIG, this paper propose to generate test cases by SBCIM model.Finally, this paper discusses current existed questions about component system integration testing and research directions in the future. It can offer guidance.
- 【网络出版投稿人】 西安理工大学 【网络出版年期】2007年 02期
- 【分类号】TP311.52
- 【被引频次】4
- 【下载频次】145