Font Size: a A A

Research On Class Cluster Software Testing Based On UML Model

Posted on:2016-10-26Degree:MasterType:Thesis
Country:ChinaCandidate:Y LiFull Text:PDF
GTID:2208330473961418Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With the development of information technology, the software has been applied for more and more industries. In order to ensure the reliable of software quality, software testing is important particularly.UML is a modeling language, which is applied universally, and can describe various aspects of a system through a series of different UML diagrams.This paper makes a detailed analysis of the aspect of the characteristics of UML model, the methods of obtaining test case and so on, there are many shortages based on UML sequence diagram or statechart diagram model to obtain class cluster-level test case, so an approach that using both UML sequence diagram and statechart diagram to obtain class cluster-level test case is proposed. The studied point of this paper that is to complete class cluster-level test through needs analysis model of software. The studied method that take UML sequence diagram as the basis of generating class cluster-level test cases, firstly, UML sequence diagram is analyzed, and the information associating class of UML sequence diagram is obtained; secondly, the statechart diagram of the class is defined according to interactions; thirdly, each statechart diagram of class is merged into a system statechart diagram; finally, all the paths of statechart diagram are traversed according to the graph traversal algorithm, each test path is a class cluster-level test cases.The paper explores and analyzes testability of UML sequence diagram and statechart diagram model from all aspects, then it proposes the method of using both UML sequence diagram and statechart diagram model to complete class cluster-level test, in addition to, a prototype system for generating cluster-level test cases is developed. Finally, the feasible of this method is verified by the Medicine Run And Quality Management System. The feasible of the method that can help testers to test the software in the requirement phase.
Keywords/Search Tags:Object-oriented, UML model, Class cluster-level test case
PDF Full Text Request
Related items