Font Size: a A A

Test Method Of Class Based On State Model

Posted on:2011-12-11Degree:MasterType:Thesis
Country:ChinaCandidate:J L RenFull Text:PDF
GTID:2178330332488263Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
With the development of software service and the technique of software R&D, Object-Oriented (OO) technology had become the main skill in analyzing and designing software, however, to some degree, the corresponding software test technique still fall behind. For the reasons mentioned above, this article elaborates the discussion around OO software test and mainly focus on class test for the importance of software test.The article firstly discuss the characteristics of OO technology as well as its corresponding effects to OO test, then introduces the layers of OO software test. Typically, the article emphasizes on several OO test methods. For the class test in OO software, the article divides the generation of test cases into test sequences generation and test data construction. After comparing and analyzing the three methods W, Wp and UIO by constructing class state machine model, I finally choose UIO as the research direction of test sequences and successfully realize the generation of test sequence.For the construction of test data, the article mainly analyzes the method domain testing and random testing, and stress on the availability for regarding the Genetic-Algorithm (GA) as the testing data construction. The article then further research on how to finish test data construction with GA, typically stress on how to construct fitness function, and put forward a simple construction method. Furthermore, the article finishes the realization of test data construction which has great value for the development of test data automatically generation tool and the further research.
Keywords/Search Tags:class test, test case, UIO, Genetic-Algorithm
PDF Full Text Request
Related items