Font Size: a A A

Research On Object-oriented Software Testing

Posted on:2008-01-30Degree:MasterType:Thesis
Country:ChinaCandidate:L ZhangFull Text:PDF
GTID:2178360215996602Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
As an important method to either ensure the quantity and the survive period or enhancethe reliability of software, software testing is a necessary part of software development. Withthe progress of modem object-oriented software engineering, object-oriented software testingshows its importance more and more. Because of the new features of object-oriented softwaredevelopment, object-oriented software testing has more difficulties than traditional softwaretesting.(?)In this paperⅠintroduce software testing, including definitions, procedures andmethods, and the theoris on software testing automation And then in the paperⅠanalyse the goals and the sortations of traditional software testing and unit testing,integration testing, confirm testing and system testing. As the foundation of softwaretesting, unit testing has very important meaning.(?)In this paperⅠembody the influence of object-oriented specialties to software testing,such as encapsulation, inheritance, polymorphism and dynamic binding. Through theanalysis,Ⅰgive out the common method for object-oriented software testing.Ⅰemphasizes the functionality testing and construct testing of classes in object-oriented method, and further more, the data flow testing of class. In this paperⅠdetailed explains the testing progression and method of different levels class testingwith a representative class.(?)In this paperⅠdesigns testing methods for object-oriented Java language, includingthe structure and testing pattern. According to its structure, common principles andprogressions for unit testing are concluded. In the dynamic test, if we know the testedsoftware's concrete content, the test driver is easy to be built. But the black boxtesting is more complex since it needs to record the function and replay it. So we usethe Java language testing tool Junit since it's an easily use, flexible, open sourcetesting platform. We can reduce bugs by Junit automatic testing without yourinterfere. Besides, Junit is easy to integrated with compiler and IDE unit.In this paperⅠillustrates the unit testing of an actually Java program. The testing process and finalresults are given out to demonstrate the usage of Junit. It is somehow directive toJava program software testing.The contents we research include software testing theories and practical experience.Ⅰbelieve it's helpful to expand Junit frame in software testing and unit testing automatizationresearching.
Keywords/Search Tags:Software testing, Object-Oriented, unit testing, class testing, Junit
PDF Full Text Request
Related items