Font Size: a A A

Research And Implementation Of Class Testing Technologies Based On Uml

Posted on:2010-10-17Degree:MasterType:Thesis
Country:ChinaCandidate:R X GuoFull Text:PDF
GTID:2198330332487771Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Software testing is an important approach to ensure software quality. With the widespread use of object-oriented technology, especially the popularization of UML-based software development technology, in order to meet the requirement of automated testing, object-oriented software testing based on UML has gained increasing attention.This paper investigates how to generate test cases of different test hierarchies of object-oriented software through analyzing UML graphs. To this end, the characters of object-oriented software and the hierarchies of object-oriented software testing are presented. Further, the relationship between UML and object-oriented software testing is elaborated and class testing technologies based on UML are discussed. Moreover, within the investigation of service-based testing technologies, the block's branch testing pattern is put forward; within the investigation of state diagram-based testing technologies, the transformation of UML state diagram into Extended Finite State Machine (EFSM) is implemented and the approach to generate state diagram-based test sequence is put forward in terms of the several coverage criteria of EFSM; within the discussion of sequence diagram-based testing technologies, UML sequence diagrams are transformed into Interprocedural Restricted Control Flow Graph (IRCFG) and the approach to generate sequence diagram-based test sequence is put forward.Finally, we verify that the class testing technologies proposed in this paper can generate test cases which satisfy test specifications and solve the problem of data expansion of test cases to some degree.
Keywords/Search Tags:Object-Oriented, Unified Modeling Language, Class Testing, Extended Finite State Machine
PDF Full Text Request
Related items