The Design and Implementation of Test Case Generating System Based on Predicate Information

Author
JiChangBin
Advisor
LiXuanDong , ChenZhenYu
School
Nanjing University
Major
Computer Science and Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2011
Downloads
21
Citations
0

Request the full text

Abstract

Software testing is playing an important role in software engeering. The design and selection of test suite determin the quality of software testing. The capacity of a Test suite is measured by how many failures this test suite can inspect. The diversity between test cases needs to be maintained to detect various types of failures.The random testing is an effective method which simply generates test cases with different input values. Some random strategies, e.g. adaptive random testing, pay more attentions on this kind of difference and have been proved effective. In practice, not only the input field, but more available software information can be acquired as well. We could utilize the software information to depict the difference of test cases. Then test cases with comparatively large disparity can be selected to form the test suite. The test suite has a high probability to find software failures. The predicate information has been widely used in software verification. This paper attempts to make the predicate information to guide test case generation. Based on the predicate information, the new test case is generated. This paper also introduces some strategies which use different ways to manipulate the predicate information. The additional predicate extraction and execution process will not dramatically increase the computational overhead. The advantages are:this techneque uses two different persepectives, input domain and predicate domain. So it can detect bugs effectively. It generates test cases from the input domain. Compared to code-based test case testing methods, it can directly affect the quality of test suite. It creats an whole new perspective to depict the diversity of test cases. It makes an easy combation between predicate information and other software testing information. As the results of experiments show, test cases which are generated according to the predicate information have well error detecting capability. Furthermore, the integrated version of predicate-based strategy which combines random process and the predicate information performs better than random testing. The predicate information can be extensively used in software testing.

Table of contents

Summary 6-7 Abstract 7-8 catalog 8-10 Figure directories 10-11 table directory 11-12 Chapter Introduction 12-17 1.1 software testing function and classification 12-13 1.2 This article targets 13 1.3 range 13-14 1.4 study course 14 1.5 of this paper work 14-17 the Chapter Background 17-23 2.1 based on differences in test random tests are found in 17-18 2.2; 18-20 2.2.1 simple random test 18 2.2.2 Adaptive random testing are found; 18-20 2.3 predicate information differences in software testing 20-23 Chapter use the 23-26 test case 3.1 difference the 23-24 3.2 the predicate dimension on the differences 24-26 Chapter and achieve 26-41 4.1 predicate form goal 26-30 4.1.1 Predicate extraction process 27-29 4.1.2 test predicate distance between use cases are found; 29-30 4.2 test case generation multiple strategies the 30-36 4.2.1 based on random process test case generation strategy 30-32 4.2.2 test cases based on the iterative process to generate strategies . 32-33 4.2.3 test cases based on adaptive random process generation strategy 33-36 4.3 predicate information as a basis of comparison significance 36-37 4.4 program the program 37-41 4.4.1 Basic information and running preparations the program running 37-39 4.4.2 39-41 Chapter experiment results and analysis 41-51 5.1 standard assay 41 5.2 subjects the 5.3 experimental steps 41-42 the 5.4 experiment results 42-43 43-50 5.4.1 tcas 43-45 5.4.2 Schedule and schedule 45-49 5.4.3 Experimental results are summarized in Table 49-50 <br / > 5.5 on experimental validity threats 50-51 Chapter Summary and Outlook 51-52 Reference 52-56 Acknowledgements 56-57 Appendix the involved in the project 57-59 59-61

Related dissertations

  1. The Research of Boundary Effect and Operational Costs in FSCS
    WangWeiFeng ·East China Normal University ·2010 ·Master's thesis
  2. The Design and Implementation of Test Suit Augmentation Based on Predicate Adaptive Random Testing
    YangZhongJun ·Nanjing University ·2012 ·Master's thesis
  3. The Application of Probability and Statistics in the Computer of Cryptography
    LiuPing ·Central China Normal University ·2008 ·Master's thesis
  4. Research and Applications on Technology of Randomness Test for Analog Signals
  5. Based on the weight of the improved GUI testing framework research
    XinMinJie ·Shanghai Normal University ·2009 ·Master's thesis
  6. The Verification Environment of SERDES Based on Open Vera
  7. The Research of Adaptive Random Testing
    ChenYongXiang ·East China Normal University ·2009 ·Master's thesis
  8. Invariant under the guidance of automated test case generation technology research
  9. Metamorphic Testing Research Based on Circling FSCS
    GengJiZuo ·East China Normal University ·2011 ·Master's thesis