Font Size: a A A

Object-oriented Cluster Level Test And Its Applications

Posted on:2005-11-06Degree:MasterType:Thesis
Country:ChinaCandidate:X R ShenFull Text:PDF
GTID:2168360122998831Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Object-oriented software testing is indispensable to the development of object-oriented software, which is also the key to software quality and reliability. The testing for Object- Oriented software contains four levels: algorithmic level, class level, cluster level, and system level. In this paper, we mainly discuss the cluster level and advance a suit of approaches on cluster level testing. It can be used not only in modeling test when we analysis and design a system, but also in integer test after we finish a system. It also provides auto-testing.First, we generalize the current situation and the future development of object-oriented software testing technology. Then the model , the hierarchies of object-oriented software testing and testing features of each layer as well as various testing methods are presented. Follow on, the cluster level testing is emphasized. It includes : 1) The definitions of the three relationships among classes, i.e. inheritance relationship, aggregation relationship and association relationship, are given; 2) These relationships areexported from source code or UML diagram by reverse engineering and the construct arithmetic of Class Relationship Diagram is presented; 3) The static and dynamic dependencies among classes are analyzed through the CRD; 4) The rule on how to partition the testing level and partial ordering of testing levels are offered; 5) We can test these classes in turn using class level testing. Based on integrity, we discuss the change of the cluster order after induct adding information and abstract class.We realize these approaches by C++ program in the windowsentironment and test the cluster level of Electronical Tax Audit Systems (ETAS). The result shows that the technique can be used in the cluster level testing and be effective. The auto-test of other levels can also base on it.
Keywords/Search Tags:cluster level test, construct arithmetic, inter-class relationships, class level, testing order, abstract class
PDF Full Text Request
Related items