Formalization-based Methed to Generate Test Sequence of UML
- Author
- LiuWei
- Advisor
- WangZhuo
- School
- Harbin Engineering University
- Major
- Applied Computer Technology
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 5
- Citations
- 0
Abstract
The quality of test sequence directly affect the quality of test. How to generate the optimal test sequence is an important research direction in testing field. In recent years, UML is a tool which is wide application in development of object-oriented system. UML is easy to express, well-defined, powerful and widespread. Currently, it is frequently used for UML to build software model. Also, UML is wide application in the test field. According to this background, this paper studies the methods and procedure of generating test sequences based on formalized UML.Firstly this paper introduces some basic knowledge of the software testing such as:the definition, the importance, purpose, process, the method of test, especially to elaborate object-oriented software testing technology and the design method of test case. Then it introduces basic concept of UML, and the basic rules of grammar chart and collaboration diagram. Also, it presents the method to formalize and transform collaboration diagram (statechart diagram) to directed digraph (tree structure respectively).Using above methods not only formalize description of collaboration chart and state chart but also lay a foundation for generating test sequence. Then it analyses the basic principle of EFSM (Extension Finite State Machine), and gives the method to formalize and transform statechart to EFSM by examples. With the hierarchy and concurrency of UML state chart, traditional flow analysis technology cannot direct apply, so we utilize EFSM to flatten state diagram and removed the hierarchy and concurrency. Then through using MDFSCMost Depth First Search), it traverses assignment test tree produce by EFSM to generate test sequence. According to generated sequences by EFSM, it would find more probability of error, and the test sequence can satisfy the state migration coverage criteria, which reduces the test cost. Finally providing the examples of AUV control system, it proves the practicality of generated test sequence based on MST (Multiple State Tree)
Related dissertations
- Aresearchbased on UML Diagrams and Dynamic Slicing of Regression Testing
- Automatic Cases Generation for Classes Test
- Research on Key Problems of CBTC Test Platform
- And the realization of software testing reuse management subsystem design
- Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
- Research on software testing technology based on complex network theory
- Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
- The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
- Research of Software Testing Method Based on Cloud Computing
- Research on Path-oriented Test Data Generation
- Research on Process Improvement in Y Co. Based on CMM
- Method Research and System Development of Software Automatic Testing
- Research and implementation of TaaS test management services
- The Design and Implementation of Banking Software Testing Based on Bugfree
- Automatic Generation of Test Data Based on Heuristic Search Algorithm
- Research on Combinatorial Testing Technique and Its Application
- Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
- Study and Practice of Independent Software Testing and Validation Based on RTCA DO-178B
- A Study to Improve CFL Based on TheDiscovery of Coincidental Correctness Test Cases
- Software Reliability Oriented Performance Test Model Research and Application