Research on automatic generation of test sequences based on the system state transfer

Author
XingJinHui
Advisor
ZhangGongZuo
School
Nanjing University of Technology and Engineering
Major
Applied Computer Technology
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2013
Downloads
6
Citations
0

Request the full text

Abstract

With the increasing of space mission complexity and development of information technology, embedded software has been widely used in aerospace systems, acting as control units or other important components. The failures of such software surely may cause some degree of function losing, or more seriously, tragedy system failure. As a common practice, software testing could find buges of the software as much as possible, improve the software quality and enhance system reliability. So, research software test-case generating technology is important factor to improve software testing caverage, and to software quality.First, this thesis carry out survey of software state transition based software testing technology, and sum up advantages and diaadvantages on relative research which can be used in practice. Then analysis and refinement of practical method of state transition based software test case generating technology are studied, leading a guideline based on Statecharts. Second, refine the Statecharts grammar to fullfil the test-case generation purpose. Third, an algorithm of automatic test case generation based on state transition coverage criteria and computer aided software tool is developed.Finally, this thesis applies the automatic test case generation method and software tool to practical embedded software. Analysising of the test cases generated by the refined method with the test cases generated by traditional way, show the validity and sufficiency of the generated test cases. Such method makes a good guidance to the embedded software with the state transition controlled system.

Table of contents

Abstract 3-4 Abstract 4-5 catalog 5-7 1 Introduction 7-11 1.1 background 7-8 1.2 research significance 8-9 1.3 study abroad dynamic 9-10 1.4 The main contents 10-11 status quo two state transition -based system testing technology research 11-14 2.1 test cases based on finite state machine generates 11 2.2 based extended finite state machine test case generation 11 2.3 test cases based on formal methods of generating 11-12 2.4 nbsp generate test cases based on UML state diagram ; 12 -13 2.5 chapter Summary 13-14 3 modeling system based on state transition 14-23 3.1 Statecharts state diagram 14- 15 3.2 embedded systems modeling features 15 3.3 Statecharts major elements and related grammar 15-18 3.3.1 status 15-18 3.3.2 state transition semantic study 18 3.4 Statecharts state diagram 18-22 3.4.1 Statecharts state diagram form definition 19 -20 3.4.2 migration formal definition definition 20 3.4.3 reconstructed state diagram 20-22 3.5 Summary 22-23 4 meet state guidelines covering the transfer case generation technology 23-33 4.1 Statecharts state diagram reconstruction 23-31 4.1.1 state pattern calculation algorithm 24-25 4.1.2 migration generation algorithm test coverage criteria 25-27 4.1.3 finite state machine 27 4.1 test sequence generation case .4 state diagram 27-31 4.2 aids Profile 31-32 4.2.1 the main function of 31 4.2 .2 tool interface 31-32 4.3 Summary 32-33 5 software testing technology application test system based on state transition 33-43 5.1 software Description 33-36 5.1.1 status 33-34 5.1.2 state Migration 34-36 5.2 experimental analysis 36-41 5.2.1 state pattern 37-39 5.2.2 state migration pattern between 39-41 5.3 experimental results 41-43 6 summary and Outlook 43-45 Thanks 45-46 references 46-49

Related dissertations

  1. Design Method and Implementation of User Routing Signaling for Vector Network
    LiuZhiYu ·Beijing Jiaotong University ·2014 ·Master's thesis
  2. Research of Intrusion Tolerance Systems Based on Virtualized Recovery
  3. Research on the State Transition Relation of China’s Foreign Exchange Market And Stock Market Based
  4. Dynamic Study on Health-related Quality of Life in the Progression of Alzheimer’s Disease Based on Generalized Estimating Equations and Latent Growth Curve Model
    GaoCaiHong ·Shanxi Medical ·2012 ·Master's thesis
  5. The Research of Control Strategy Based on Low Voltage Looped Microgrid
    WuJianXiong ·Chongqing University ·2012 ·Master's thesis
  6. Design of Role Domain Merged Workflow Engine and Application in Electric Vehicles Operating and Supporting Field
  7. Effects and Regulation Mechanism of Salt Stress on Photosynthesis and Antioxidant System in Soybean
    LuKaiXing ·Zhejiang University ·2008 ·Doctoral dissertation
  8. A Study on Object-Monitoring-based Distributed and Collaborative Intrusion Detection
    ZuoShaoHua ·Guangdong University of Technology ·2008 ·Doctoral dissertation
  9. The Regulation of Light Harvesting in the Photosynthetic Apparatus of Plants
    ChenYue ·Shanghai Institutes for Biological Sciences ·2007 ·Doctoral dissertation
  10. The Regulation Mechanism and Physiological Function of Thylakoid Protein Phosphorylation in the Higher Plants
    WeiHuiMin ·Sichuan University ·2006 ·Doctoral dissertation
  11. Studies on Osmotic Adjustment and Photosynthetic Adaptations of Iris Lactea Pall. Var Chinensis Koidz Grown in Salt and Alkali Soil
    SunGuangYu ·China Agricultural University ·2005 ·Doctoral dissertation
  12. Research on Qualitative Simulation for Knowledge Group Behavior in Enterprises
  13. Regulation of Exogenous Abscisic Acid to Photoinhibition in Maize Seedlings
    JiaHuSen ·Institute of Botany ·2003 ·Doctoral dissertation
  14. Research on Method of Combinatorial Optimization Based on State Transition
  15. Research and Implementation of Testing Techniques for UML
  16. Study on Non-Regular Motion Planning and Disturbance Rejection Control for Humanoid Robot
    WangXuYang ·Shanghai Jiaotong University ·2008 ·Doctoral dissertation
  17. Dense particle systems using discrete element model and its macroscopic mechanical behavior of theoretical research
    WangDengMing ·Lanzhou University ·2009 ·Doctoral dissertation
  18. Study on Model-Based Fault Diagnosis Method and Its Application in Aerospace
    ShaoJiYe ·Harbin Institute of Technology ·2009 ·Doctoral dissertation
  19. The Application of STAT Technology in Network Security Management
    SongZhiGang ·Shanghai Jiaotong University ·2008 ·Master's thesis
  20. Research on Control Methods and Software of Autonomous Cleaning Robot Based on μC/OS-Ⅱ
    PanWeiDong ·Zhejiang University ·2007 ·Master's thesis