Automatic Test Cases Generantion of Class Testing from UML State Diagrams
- Author
- ShiFengMing
- Advisor
- ZhangYiKun
- School
- Xi'an University of Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2003
- Downloads
- 290
- Citations
- 5
- Object-Oriented
- Software Testing
- Automated Test Case Generation
- UML
- State diagram
- Based on the state of the test
Abstract
Although object-oriented programming method is widely used worldwide , but relatively aspects of object-oriented software testing is seriously lagging behind . As it was discovered that the poor results of traditional software testing techniques and methods in the test object-oriented software , the research in this area has been more attention . Class state - based testing is one of the hot issues of object software testing technology - oriented research , one of the basic methods of research in this area is to borrow the traditional state test method based on extended finite state machine , the core problem is the test case automatic generation method . This paper summarizes theoretical foundation based on state test class , test case generation method based on the combination of UML state diagram and automatically generate test cases , focusing on the state prediction , message sequence generation : introduction of the prediction of the state of the state variable ; generate a test sequence of messages when the algorithm is optimized to generate the path as short as possible to overwrite the standard sequence of test messages . The goal of these methods , to develop a class automatically generated test cases based on state test tools , this tool the the Rational Rose Statute file as input , and output in line with ISO9002 in the form of TTCN test cases .
Table of contents
Foreword 6-8
1 object-oriented software testing characteristics and status 8-12
1.1 object-oriented features of the software and its impact on the test 8-10
1.2 object-oriented software testing range is divided 10-11
1.3 object-oriented software testing coverage criteria 11-12
2 based on the Statute of the software testing 12-15
2.1 Statute of the test -based advantages 12-13
2.2 Statute of the test based on the current research status 13 -15
3 classes based on UML state diagram test generation 15-43
3.1 class state-based test 17-20
3.2 finite state machines and UML state diagram of the basic syntax and semantics 20-22
3.3 test requirements ( coverage criteria ) 22-25
3.4 state recognition ( forecast ) 25-28
3.4.1 extended Finite State Machine -based prediction methods commonly used 25-27
3.4.2 instance of the class object state prediction 27-28
3.5 test message sequence generation 28-34
3.5.1 generate test coverage achieved status message sequence 30-31 <br / > 3.5.2 complementary sequence of messages in order to achieve transformation test coverage 31-32
3.5.3 message Sequence execution order sort 32-34
3. 6 test case generation tool 34-43
3.6.1 file parsing 35-40
3.6.2 message sequence Generation 40-43 < br /> 4 summarizes 43-46
Thanks 46-47
References 47-50
Related dissertations
- Air Disinfector Design Based on Rhapsody
- Design and Implementation of Ji’nan Waterconservancy Bureau Covers Security Information System
- Analysis and design of student information management system
- The Design and Implementation of Member Management System for Technical Title Evaluation Committee of WeiFang City
- The Analysis and Implementation of Laboratory Equipment Management System Based on WEB of Zhangjiakou Education College
- Object-Oriented Software Testing Method and Application in Composite Explosives Detection System
- County-Township-Village Operation Management Information System for the Rural Work Base on C/S Architecture
- The Design and Implementation of an Network Teaching Platform in a Vocational Technical College
- Research on Test Case for Automatic Order System Based on Uml
- Digital Voice Teaching System Design and Implementation of Object-Oriented Programming
- Study and Application of Distance Education Platform Based on UML
- Catering Management System Design and Implementation Based on WEB
- Based on the Web Army Personnel Information Management System Design and Implementation
- Test Case Generation and Management
- Study on the Techniques for Testing Client/Server Software System
- Object - oriented software testing research
- Study of the Theory and Techniques for Testing Object-Oriented Software
- Object-Oriented Software Testing Method
- Automatic Test Case Generation for Path Testing Using Genetic Algorithms
- Study on the Automatic Generation Technology of Test Case Based on UML