The dynamic domain reduction procedure for test data generation

被引:3
作者
Offutt, AJ
Jin, ZY
Pan, J
机构
[1] George Mason Univ, Dept Informat & Software Engn, Fairfax, VA 22030 USA
[2] Template Software Inc, Dulles, VA 20166 USA
关键词
automated test generation; software testing; symbolic evaluation;
D O I
10.1002/(SICI)1097-024X(199902)29:2<167::AID-SPE225>3.0.CO;2-V
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Test data generation is one of the most technically challenging steps of testing software, but most commercial systems currently incorporate very little automation for this step. This paper presents results from a project that is trying to find ways to incorporate test data generation into practical test processes, The results include a new procedure for automatically generating test data that incorporates ideas from symbolic evaluation, constraint-based testing, and dynamic test data generation. It takes an initial set of values for each input, and dynamically 'pushes' the values through the control-how graph of the program, modifying the sets of values as branches in the program are taken. The result is usually a set of values for each input parameter that has the property that any choice from the sets will cause the path to be traversed. This procedure uses new analysis techniques, offers improvements over previous research results in constraint-based testing, and combines several steps into one coherent process. The dynamic nature of this procedure yields several benefits, Moving through the control flow graph dynamically allows path constraints to be resolved immediately, which is more efficient both in space and time, and more often successful than constraint-based testing, This new procedure also incorporates an intelligent search technique based on bisection. The dynamic nature of this procedure also allows certain improvements to be made in the handling of arrays, loops, and expressions; language features that are traditionally difficult to handle in test data generation systems, The paper presents the test data generation procedure, examples to explain the working of the procedure, and results from a proof-of-concept implementation. Copyright (C) 1999 John Wiley & Sons, Ltd.
引用
收藏
页码:167 / 193
页数:27
相关论文
共 50 条
  • [31] Generation of Test Data Using Meta Heuristic Approach
    Srivastava, Praveen Ranjan
    Ramachandran, Vinod
    Kumar, Manish
    Talukder, Gourab
    Tiwari, Vivek
    Sharma, Prateek
    2008 IEEE REGION 10 CONFERENCE: TENCON 2008, VOLS 1-4, 2008, : 810 - 815
  • [32] State of the art: Dynamic symbolic execution for automated test generation
    Chen, Ting
    Zhang, Xiao-song
    Guo, Shi-ze
    Li, Hong-yuan
    Wu, Yue
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2013, 29 (07): : 1758 - 1773
  • [33] CONSTRAINT-BASED AUTOMATIC TEST DATA GENERATION
    DEMILLO, RA
    OFFUTT, AJ
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1991, 17 (09) : 900 - 910
  • [34] Test data generation based on automatic division of path
    Liao W.-Z.
    Liao, Wei-Zhi (weizhiliao2002@aliyun.com), 1600, Chinese Institute of Electronics (44): : 2254 - 2261
  • [35] Test case generation and reduction by automated input-output analysis
    Saraph, P
    Last, M
    Kandel, A
    2003 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN AND CYBERNETICS, VOLS 1-5, CONFERENCE PROCEEDINGS, 2003, : 768 - 773
  • [36] Evolutionary generation of test data for paths coverage based on scarce data capturing
    Zhang, Y. (zhangyancumt@126.com), 1600, Science Press (36): : 2429 - 2440
  • [37] Automatic test data generation for data flow testing using a genetic algorithm
    Girgis, MR
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2005, 11 (06) : 898 - 915
  • [38] Test Data Generation Based on Test Path Discovery Using Intelligent Water Drop
    Srivastava, Praveen Ranjan
    Patel, Amitkumar
    Patel, Kunal
    Vijaywargiya, Prateek
    INTERNATIONAL JOURNAL OF APPLIED METAHEURISTIC COMPUTING, 2012, 3 (02) : 56 - 74
  • [39] A dynamic stochastic model for automatic grammar-based test generation
    Guo, Hai-Feng
    Qiu, Zongyan
    SOFTWARE-PRACTICE & EXPERIENCE, 2015, 45 (11) : 1519 - 1547
  • [40] A Search Based Test Data Generation Approach for Model Transformations
    Jilani, Atif Aftab
    Iqbal, Muhammad Zohaib
    Khan, Muhammad Uzair
    THEORY AND PRACTICE OF MODEL TRANSFORMATIONS, ICMT 2014, 2014, 8568 : 17 - 24