Font Size: a A A

Research On A Method For Object-oriented System Function Test Case Generation

Posted on:2012-11-16Degree:MasterType:Thesis
Country:ChinaCandidate:X X FengFull Text:PDF
GTID:2178330335968425Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Software testing has very important significance to software quality. As the object-oriented analysis and design widely applied to software development, object-oriented software testing can not be neglected area of research. Traditional testing techniques already can not guarantee the accuracy of object-oriented software, but the new object-oriented testing techniques are developed mostly for the class testing, class-cluster-level testing, in particular, system testing is still weak. Function testing in object-oriented system testing plays an important role. Whether function testing is solidly and successfully completed has great relationship with whether system testing is completed successfully, and system testing is the last and most important testing before the system is put into operation, and directly determines whether the system meet the needs of users. Therefore, the research of system function testing is urgent in-depth.With focus on object-oriented system function testing, the paper describes the three levels of object-oriented testing, UML, Object Constraint Language, and some methods for object-oriented system function testing. In the above basis, the paper proposes the test case generation method for object-oriented system function testing around object-oriented system function testing.The main work includes the following four parts:(1)Proposing the generation method of requirements use UML case sequences. Creating a system use case diagram for each user, researching the generation process of requirements use case sequence, proposing the generation algorithm of requirements use case sequences, analyzing the performance of the algorithm, and proposing the method in which requirements use case sequences parameterized are instantiated.(2)Proposing the generation method of operation sequences for each requirements use case. Dividing each requirements use case into a number of scenarios which are described with regular expressions. Combining regular expressions so as to get regular expressions of requirements use cases. Getting operation sequences by expending product terms and processing cycles, describing pre-conditions of operation sequences with OCL.(3)Researching the generation method of system test case and test prediction results. Getting variables sequences by combining operation sequences of requirements use cases in requirements use case sequences. Generating system test cases under guidance of variables sequences. Describing post-conditions of operation sequences with OCL, and generating test prediction results based on them. Creating the decision table. (4) taking fund trading system as an example, describing and verifying the method for object-oriented system function test case generation in detail.
Keywords/Search Tags:UML, function testing, test case generation
PDF Full Text Request
Related items