Research on Embedded Software Test Case Generation Method

Author
XiongLi
Advisor
ZhouKuanJiu
School
Dalian University of Technology
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2010
Downloads
139
Citations
0

Request the full text

Abstract

With the continuous development of embedded computer technology, safety-critical embedded systems were applied in many areas of more and more complex structure and function, once the failure of these systems will bring immeasurable social life and property losses. How to effectively improve the reliability of embedded software has become focus of by the industry and academia in general. Embedded software testing plays an important role in enhancing the credibility of embedded software systems, and model-based statistical testing has been widely used because of its high credibility and high efficiency at home and abroad.This dissertation focuses on the statistical tests used in embedded software to automate generated test case. Firstly, analysis the unique nature of embedded software testing and researches all aspects of the status and ideas, proposed testing model which applies the feasibility of embedded software testing and built embedded software usage model; secondly, using the model framework based on this study to generate the test model, especially analysis the method uses the constraints of the Construction Rules. The processes of establishing the test model, the test model to use the model of achieve convergence, optimization and realization of the implementation steps. Also studied the convergence of efficient algorithm, solution precision specified circumstances to obtain the optimal solution fast convergence. The final usage model is based on the actual use of software, can be widely applied in Markov usage model process of software statistical testing. Experiments show that this method can not only improve the automation level of statistical tests and can effectively reduce the model complexity to improve test efficiency, saving the cost of test.Finally, based on the model-based testing theory of the statistical tests, this dissertation implements it in the embedded processor SPARC simulation project. It absorbs the advantages of the appear test model, firstly introduced the model to embedded software testing to generate test cases, and implemented the conversion of usage model to test-model parameter analyzes and features such as automatic generation the test cases. Improve the level of test automation tools and improve the statistical tests tools which dropped theory behind, and provide a reference for test automation.

Table of contents

Abstract 4-5 Abstract 5-8 1 Introduction 8-14 1.1 Background topics 8-9 1.2 research status 9-11 1.3 embedded software testing 11 1.4 thesis research content and structure 11-14 1.4.1 papers main content 11-12 1.4.2 thesis chapters 12-14 2 embedded software testing foundation 14-25 2.1 embedded system software hierarchy 14-15 2.2 embedded software and Features 15-19 2.2.1 embedded software development 15-17 2.2.2 embedded software features 17-19 2.3 embedded software testing 19-24 the characteristics 2.3.1 Embedded Software Testing 19-20 2.3.2 embedded software testing unified test model 20 2.3.3 embedded software testing steps 20-21 2.3.4 embedded software testing with common software software testing difference 21-24 2.4 This chapter Summary 24-25 embedded software testing environment and technology 25-33 3.1 embedded software testing environment 25-26 3.1.1 embedded software testing environment architecture 25-26 3.1.2 embedded software interaction test environment 26 3.2 embedded software testing technology and tools 26-32 3.2.1 embedded software coverage testing 26-31 3.2.2 model-based embedded software testing 31-32 3.3 This chapter Summary 32-33 4 Markov-based embedded software test case design 33-44 4.1 Markov chain statistical testing strategy 33-35 4.1.1 statistical test theory and process 33-34 4.1.2 Markov chain path model 34-35 4.2 based on the path of the Markov chain model static parameters 35-37 4.2.1 paths using the Markov chain model transition matrix 35-36 4.2.2 each state's share in the long-running 36 4.2.3 single test case, the probability of occurrence of each state 36-37 4.2.4 single test case, the probability of occurrence of each side 37 4.3 testing based on Markov chain model 37-38 4.4 based on Markov chain path test reliability 38-39 4.5 using a model based on the Markov chain path algorithm to achieve 39-41 4.6 based on the the Markov chain path test model of the results with analysis 41-43 4.6.1 test model the stationary distribution experiment 41-42 4.6.2 test efficiency comparison experiments 42-43 4.7 This chapter Summary 43-44 SPARC simulation test integrated 44-51 5.1 SPARC Simulation Overview 44-46 5.2 SPARC simulation test 46-50 5.2.1 traditional SPARC simulation test 46 5.2.2 SPARC simulation model based on the Markov chain path test 46-50 5.3 This chapter Summary 50-51 concluded 51-53 the References 53-56 during the master's degree Post academic situation 56-57 Acknowledgements 57-59

Related dissertations

  1. Model Based Testing Automation Framework of Data Pocessing System
  2. Model-based GUI Test Case Generation
    ZhuangXueWei ·Nanjing University ·2012 ·Master's thesis
  3. Research on Automatic of Software Testing Based on Models
    XiaoChunYan ·Jiangnan University ·2012 ·Master's thesis
  4. Automated EFSM-based Test Case Generation with Scatter Search
    ZhangJie ·Nanjing University ·2012 ·Master's thesis
  5. Research on Embedded Software Testability
    ZhangLiNa ·Inner Mongolia University ·2012 ·Master's thesis
  6. Research on Embedded Software Testing and Evaluation Technology for Electrical Products
    WangPingPing ·China Jiliang University ·2013 ·Master's thesis
  7. Research and implementation of automatic generation method for test case two and based on the contract
  8. The Research on Agent-based Testing Framework and Testing Approach for Web Applications
    SunZuoZuo ·Hunan University ·2011 ·Master's thesis
  9. Study on Automatic Software Functional Test Case Generation and Optimization
    HuangYing ·South China University of Technology ·2012 ·Master's thesis
  10. The Software Test Suite Generation Method Based on Model Compare
  11. Research on Automatic Testing Generation for Space Camera Master Software
    LiLi ·Graduate Schoo,Chinese Academy of Sciences ·2010 ·Doctoral dissertation
  12. The Research on GUI Testing Based on Relating Event
    HeTianChi ·Hunan University ·2008 ·Master's thesis
  13. Application of Neural Network and Genetic Algorithm in Output Domain Based Software Testing
  14. Automatic Cases Generation for Classes Test
    ZhangXia ·Taiyuan University of Technology ·2008 ·Master's thesis
  15. Design and Implementation of a method of generating test cases based on the Hamming distance
    ZhaoKui ·Beijing University ·2008 ·Master's thesis
  16. The Research and Implementation of User-Oriented Software Component Test
    HuangXingHua ·Shanghai Jiaotong University ·2008 ·Master's thesis
  17. Research of TTCN-3 Based Vehicle On-board Equipment Test System of Magnetic Operation Control System
    WangChunJun ·Beijing Jiaotong University ·2008 ·Master's thesis
  18. Research on Controller Software Autotest System
  19. Studying the Model-based Framework for Testing Graphical User Interfaces
    GuYanPing ·Shanghai Normal University ·2007 ·Master's thesis
  20. Embedded software testing technology research and its application in Flash File System Test of
    HuYiFei ·Tongji University ·2007 ·Master's thesis