Font Size: a A A

Investigation And Realization Of Object-Oriented Automation Testing System

Posted on:2006-03-09Degree:MasterType:Thesis
Country:ChinaCandidate:Y LiuFull Text:PDF
GTID:2168360152991544Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Software testing is the assurance of the quality of the software. The traditional method of testing can't already meet the need of object-oriented software testing because of the appearance of object-oriented programming language. The three important characteristics of object-oriented programming language are wrap, inheritance and polymorphism which add the degree of testing complexity, and which improve the degree of testing difficulty. In the period of developing software which makes use of object-oriented language, software testing can be divided into class testing, cluster testing of class and system testing.The class is a base unit of object-oriented programming language, so the test of class is very important. The class is made up of attributes and methods, which test can be divided into three parts according to the order of test: test based on methods of class, test based on state of class and test based on response of class' states .The test based on methods of class is made up of the test of structure and the test of function. The structure testing is mainly the test of covering basic paths and to design testing examples for carrying out every sentence of method. We should use the Block Branch Diagram to design control flowgraph, then confirm the basic paths, when we carry out structure testing of class' method. Testing examples can be produced by using genetic algorithm automatically. The functionality test of the method of class is the same basically to traditional testing, but the members of class might be used in the method. When we select the data of the method testing of class, we usually use border value means and middle value means, we use them together , which makes the test data more rational, so that we can find the mistake of the procedure easily.Regression test of software find software amended mistakes and the operating sequence is the same as the sequence operated before, which has provided condition ofautomation for software testing. The regression test mainly includes recording of events and playback of events. The course of recording the events is the course of testing tool study. In this course, we can obtain all events of operating software, and create the database of testing. The playback of events is to carry out the whole course in which we record the software automatically. Software automation testing can improve the efficiency tested, save the time testing software and shorten the period developing software.
Keywords/Search Tags:object-oriented, software testing, class testing, regression testing, automation testing
PDF Full Text Request
Related items