测试软件的复用性是摆在测试界面前亟待解决的重要问题.运用面向对象的设计方法,基于层次体系结构理论,以舵机测试系统为模型,提出了一种通用测试软件的三层结构.在实现中,按照面向对象设计原则,采用UML进行建模,使用设计模式和C#反射机制提高软件复用性,达到了使用同一套软件完成舵机测试领域内同一系列产品测试的目标.%At present, the generality is a problem need to be solved for test software. Based on object-oriented design methods and the theories of hierarchical architecture, three-tier structure was proposed for constructing the universal test software. According to the function of each layer, the design method and the reasons were described. In the design, unified modeling language (UML) was used for modeling and the principles of object-oriented design also played an important role in the implementation. Design patterns and C# reflection mechanism were used to. Improve software genrality. So the target that the rudder of the same family can be tested by the same set of software is achieved.
展开▼