Font Size: a A A

Research On Technology Of Object-Oriented Software Testing

Posted on:2004-10-12Degree:MasterType:Thesis
Country:ChinaCandidate:J Y LiuFull Text:PDF
GTID:2168360092490872Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Software testing is indispensable to the development of software, and is a key factor to assuring software quality and enhancing its reliability. Based on the technology of traditional software testing, and combined with the characteristics of the object-oriented software (OOS), the effect of the technology of OOS on traditional software testing is analyzed. The primary concept of object-orientation is also discussed from the point of view of testing perspective. Based on the above analysis, the technology of object-oriented testing (GOT) is discussed. In the testing phases of OOT, much emphasis is put on the research of class testing and integration testing. Class testing is an important part of OOT. Therefore, two testing methods are put forward in the phase of class testing. The first is the method of state transition diagram-based testing which is presented on the specific characteristics of OOS. The second method is the technology of data flow testing on class which improves the traditional data flow testing and can be applied to class testing. In the phase of integration testing, the methods of atom system function and testing tree are used to perform integration testing, which is based on the event-driven features of OOS. The algorithms of constructing the testing tree are also presented.The automatic testing is a development tendency of software testing, and the automatic generation of test case is important to implementing the automatic testing. The technology of automatic generation of test case for OOS is studied in this thesis. As core searching algorithm, genetic algorithm is applied to generate software structural test case. To achieve higher performance, such issues as coding strategy, evaluation function construction and instrumentation are discussed in detail. In particular, much emphasis is put on how to improve the genetic algorithm operator which has a significant influence on the algorithm efficiency. Finally, the method is illustrated and validated by an instance.
Keywords/Search Tags:software testing, object-oriented, class testing, integration testing, automatic generation of test case
PDF Full Text Request
Related items