Design and Implementation of Automated Test Case Generator

Author
ZhangMin
Advisor
WuLei , WeiMing
School
University of Electronic Science and Technology
Major
Software Engineering
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2013
Downloads
42
Citations
0

Request the full text

Abstract

It is very good to apply software reuse to software development. The practice hasproved that software reuse can shorten software development cycle, and improvesoftware quality. Software test case is the key and difficult point in software testing.And it decides the efficiency and quality of software testing. Importing the idea ofsoftware reuse into software testing, and reusing software test case that already existedcan not only shorten the period for software test case design and reduce the workload ofsoftware test case design, but also improve the efficiency of software testing, and ensurethe efficiency of software testing and software quality.This paper mainly studies reuse technology of software test case and reusable testcase generation technology based on IFSA (Interactive Finite State Automaton). Firstly,it introduces the background and significance of reuse technology of software test casebased on requirement, summarizes the research status, and describes related theories.Secondly, reuse technology of software test case based on TCBR (Test Case BasedReasoning) is studied. The similarity measure of test cases is also established. The testcase retrieval algorithm based on the similarity measure of test cases and KNN(K-Nearest Neighbor) algorithm is designed in details. Thirdly, automatic generationtechnique for reusable test case based on IFSA is studied. The formal semantic ofFormal Flowchart (FFC) and IFSA is proposed. Algorithms for transforming FFC toIFSA and transforming IFSA to reusable test cases are presented in details. Finally, aprototype of ATCGBR (Automated Test Cases Generator Based on Reuse) software isdesigned and implemented.

Table of contents

Abstract 5-6 ABSTRACT 6-8 first chapter 8-12 1.1 software to automatically generate test cases related research 8-10 1.2 the main work structural arrangements 10-11 1.3 of this paper 11-12 chapter theory and technology 12-21 2.1 test 12-16 2.2 XML description of test cases 16-20 2.2.1 document type definition DTD 16 -18 2.2.2 example 18-20 2.3 Chapter Summary 20-21 Chapter III automatic generation of test cases 21-38 3.1 in the form of a flow chart 21-24 3.2 interactive finite state automata 24-32 3.3 to generate test cases 32-37 <br / > 3.3.1 generate test path 33-34 3.3.2 instantiate test 34-37 3.4 Summary 37-38 Chapter IV software test case generation system design and implementation 38-50 4.1 system Overview 38-39 4.2 software architecture design 39-43 4.3 software 43-49 4.4 Summary 49-50 Chapter V Conclusion 50-51 5.1 the main contribution of this paper 50 5.2 Prospects for further work 50-51 Thanks 51-52 references 52-56

Related dissertations

  1. The Study of XML-Based Test Case Reuse
    ZuoSuJuan ·Southwestern University ·2006 ·Master's thesis
  2. Web Based Metwork-Security Tool Testing and Analysis
  3. Design and Realization of Software Testing Management Tool
  4. Research on Application of automatic test case generation based on Improved Genetic Algorithm
    PengZuoDong ·Jiangxi University of Technology ·2012 ·Master's thesis
  5. Research on Analysis and Optimization of Data Access for Memory Hierarchy
  6. The Research on Generation of Test Case in Object-oriented Software Testing
    ZhangZuoZuo ·China University of Petroleum ·2007 ·Master's thesis
  7. Software Testing Technology and Developing an Automated Software Testing Tool
  8. Automated Test Case Generation System and Implementation
  9. Micro Communication Element System Software Test Design and Implementation
  10. Research and Implementation of UML model - based software testing technology
  11. RUP - based software testing
  12. The Research on Methods of Software Testing Process Improvement
    DaiXiLi ·Central China Normal University ·2006 ·Master's thesis
  13. Software test case reuse research
    ZhangJiangHe ·Northwestern University ·2005 ·Master's thesis
  14. Research of Software Unit Test
  15. Research on Reuse Technology of Test Case
    HuZhengFang ·Harbin Engineering University ·2009 ·Master's thesis
  16. Research on Software Test Suite Automated Generation and Optimization Methods
    SuNa ·Shenyang University of Technology ·2011 ·Master's thesis
  17. Study on Atomatic Software Testing Techniques
    LiangJiaAn ·Jiangnan University ·2011 ·Master's thesis
  18. Research on the Impact of Human Resource Management on Employees Performance
  19. Study on Reuse Logistics Network and It’s Cost Control Model for Waste Electronic and Electrical Products
    TaoShuangShuang ·East China Jiaotong University ·2013 ·Master's thesis
  20. Research on Knowledge Relevance Based on Knowledge Element Retrieval
    LuChengXiao ·Nanjing University ·2012 ·Master's thesis