Research on Intelligent Test Scenario Generation Based UML Activity Diagram
- Author
- CuiXia
- Advisor
- GaoJianHua
- School
- Shanghai Normal University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 83
- Citations
- 2
Abstract
Software testing is an important means to ensure the quality of the software , test costs accounted for 40% to 50 % of the entire software development costs , test scenarios / cases quality and generates decided to test the reliability and cost . With the wide application of standard UML and RUP software development process , and scenario testing method based on UML activity diagrams can be implemented in the early stages of software development , and early detection of defects in the software . Both manual and automated generation method based on UML activity diagram of the scene , the artificial method disadvantage is the high cost , low reliability and efficiency ; automated method disadvantage is the limited capacity of the various graphic elements of UML activity diagram , Scope small. Automated method of defects the improved anti ant colony test scenarios automatically generated algorithm that can handle UML activity diagram that concurrent threads bifurcation convergence for multiple nested loop structure , improved parsing activity diagram the ability to expand the scope of application of the algorithm . Firstly, on the basis of analysis of the advantages and position of the UML model in software testing , research testability of UML activity diagram and expand its testability strategy . Then , specification papers of the the bifurcation confluence naming rules to increase the memory of the ants , the system loop body and system information such as data structure design scene nested loop structure generated using recursive processing bifurcation convergence multinest was structure , and generate the appropriate fine - thread tree . Finally, an example to design a complete implementation of the algorithm and improved algorithm . NET environment using C # language verified . In this paper, a test project of Shanghai Rail Transit Line 6 (AFC) an activity diagram instance , generate XML document using improved ant colony algorithm parse an XML document to generate the activity diagram fine - thread tree . From the generated results improved ant colony algorithm enhances the ability to deal with activity diagrams , and improve test adequacy .
Table of contents
Abstract 6-7
Abstract 7-10
first chapter 10-15
1.1 Background 10-11
1.2 at home and abroad to study the status quo and problems raised 11-13
1.3 topics sources 13
1.4 papers work and innovation 13-14
1.5 thesis chapters arranged 14-15
testability analysis based on the UML activity diagram 15-20
2.1 UML-related technology 15-16
2.1.1 UML semantics 15-16
2.1.2 UML said 16
2.2 UML model advantage in the software testing 16-19
2.2.1 model testability defined 17-18
2.2.2 UML activity diagram testability analysis 18-19
2.3 This chapter Summary 19-20
Chapter based on UML activity diagram of the test scenarios generated 20-34
3.1 scenario testing method and its expansion 20-22
3.1.1 scene test method 20-21
3.1.2 scenario testing method based on the activities 21
3.1.3 fine - thread (Thin-Threads) method and 21-22
3.2 UML activity diagram elements semantic description 22-27
3.3 activity diagram the bifurcation confluence on the naming convention 27-28
3.4 bifurcation confluence of the domestic scene analysis 28-33
3.5 Summary 33-34
Chapter Improved anti-ant colony intelligent algorithm 34-46
4.1 ant colony optimization algorithm and anti-ant colony 34-36
4.1.1 ant colony optimization algorithm brief 34-35
4.1.2 Anti ant colony algorithm and its test scenarios / use cases automatically generate application 35-36
4.2 Improved anti ant colony algorithm 36-45
4.2.1 Improved anti-ant behavior characteristics described 36-38
4.2.2 Improved anti-ACO algorithm 38-41
4.2.3 data structure 41-44
4.2.4 memory storage 44
4.2.5 Add circulating information 44-45
4.3 This chapter Summary 45-46
instance analysis 46-58
5.1 experimental system framework 46-47
5.2 XML technology and its application 47-48
5.2.1 an XML $ data interchange (XMI) 47
5.2.2 XML programming techniques 47-48
5.3 XML generation and parsing 48-55
5.3.1 XML document generated 49-52
5.3.2 an XML initialization 52-55
5.4 smart search and fine - line Cheng Shusheng into 55-57
5.4.1 system 55-56
5.4.2 Experimental results 56-57
5.5 This chapter Summary 57-58
Chapter Summary and Outlook 58-60
6.1 summarizes 58
6.2 Looking 58-60
Acknowledgements 60-61
the
References 61-64
studying for a master's degree during published papers and participating in scientific research 64
Related dissertations
- The Application and Research of Automation Test with Dojo Based on Selenium
- Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
- The Design and Implementation of Distributed Automation Testing System for Android Application
- Research on Mobile Games Software Automated Testing Based Machine Learning
- Design and Realization of Test Equipment for a Data Record Device
- Design and implementation of monitoring tool Linux system and its automation test based on
- Formal Research of UML Behavior Diagram Based on Description Logic
- Analysis and Design of Automated-Testing Framework for E-Commerce System
- Aresearchbased on UML Diagrams and Dynamic Slicing of Regression Testing
- Research and Implementation of an Automatic Embedded Test Platform
- Design and Implementation of Automated Financial Data Validation Tool for Financial Information Service Industry
- The Design and Implementation of Autotest
- The Design and Implementation of Automated Testing System of Itis on Mac OS
- Research on Test Plan of Development&Application and Its Technical Realization
- Design and Implementation of Embedded Software Testing System Based Qtopa
- Based on the.Net Platform and Workflow Technology of eHR Management System Research and Implementation
- Design and Implementation of Testing Tools for DBMS Based on TETware
- Research on Testing Model and Automated Testing of Web Application
- Design and Realization of Process Engine’s Automated Testing Based on Workflow
- Design and Implementation of Conductor-an Automated Testing Tool