Font Size: a A A

Study On The Automatic Generation Technology Of Test Case Based On UML

Posted on:2008-05-27Degree:MasterType:Thesis
Country:ChinaCandidate:S M ZhangFull Text:PDF
GTID:2178360218456636Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Test is very important in software development. Usually, test is about 40% in whole software development process. So, the development of test technology has important meaning for shortening test cycle, reducing maintenance cost and improving software quality. And it plays a more and more important role in the software development and it performs its functions during the whole period of developing. In software testing, the design of generating cases testing, which is based on the requirement and design of the software, is the key point as well as a difficult one.The Unified Modeling Language (UML) is a common graphical modeling language. It has became a factory standard in the analyzing a designing the object-oriented system.Along with UML's wide used in the software application day by day, software test based on UML also brings people to pay more attention to it day by day.Nowadays,the research on software test based on UML mainly focus on the UML state diagram and active chart, and proposed some corresponding analysis methods.In contrast to OO (object-oriented) programming, OO testing has been received less attention in the past years. On the other hand, the study on the generation technology of testing cases automatically based on UML modeling focuses on the levels of the classes, and most of them are analysed based on State Diagram. One important aspect of the class level test is the testing on the class state.The test based on state mainly check the class instance's cases under each condition in its life cycle.The method's superiority is that we can learn from the finite state machine theories.Test of the class based on the state is one of the hot topics on the oriented-object software test technology research at present.Class is the basic unit of OO program and research on class testing is the most active. One of the methods is stated-based class testing, which is based on the conventional EFSM (extended finite state machine)-based testing methods. The focus of all these testing techniques is automatic test cases generation.The study of the thesis mainly focus on three points. The first aspect is about the study of the state,the second is about the study of the models,and the third is the study of the creation of the testcase and its test process. After summarizing the theories of the class test based on the state ,the paper unifies the UML state diagram and class diagram,studies and discusses the methods of the predication of the states,it imports state invariable to predicate the states,change the UML models into codes to make the models and the states keep coincident,and the creation of the testcase and its testing process on the application program.
Keywords/Search Tags:software testing, object-oriented, testcases, UML, state-based testing
PDF Full Text Request
Related items