摘要
阐述了自动测试框架的核心技术;从软件重用的角度出发,结合面向对象软件的特点,在分析了软件测试复用可行性的基础上,讨论了设计测试模式的意义,其次,为了简化测试用例的开发,使框架可复用,易扩展,易维护,借鉴了XUnit的模式产生框架的思想,给出了如何利用设计模式,如Command,Composite,Observer,Adapter和Template等模式来设计和实现框架的结构的;最后介绍了验证项目N.E.W.的背景和N.E.W.测试面临的问题。
This paper introduced key technologies of Automated Testing Framework. Firstly, started from the opinion of software reu- sing, combined with the characteristic of Object--Oriented software and based on analyzing the feasibility of software reusing, this paper dis- ccuss the significance of Design Pattern. Secondly, in order to make the framework reusable, expansive, maintainable, referenced the idea of XUnit framework, Pattern generating Framework, this paper gives detailed introduction about the key technologies that are used in the ATF framework. The framework is implemented by using and applying many existing related design patterns and techniques such as Com- mand, Observer, Composite, Adapter and Template Method, etc. In addition to the above, this paper also describes Automated Testing Framework for N. E. W. , which apply ATF to the functionality testing of N. E. W.
出处
《计算机测量与控制》
CSCD
北大核心
2009年第1期224-227,共4页
Computer Measurement &Control