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
来源
SOFTWARE-PRACTICE & EXPERIENCE | 1999年 / 29卷 / 02期
关键词
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 条
  • [41] TEST DATA ACQUISITION AND REDUCTION
    BLACKWEL.GJ
    MEASUREMENT AND CONTROL, 1969, 2 (09): : T148 - &
  • [42] The construction of Test Strategy Tree and the automatic generation of Visual Test Procedure
    Yang, XH
    Zhou, Y
    Wang, H
    Liu, JF
    AUTOTESTCON 2004, PROCEEDINGS: TECHNOLOGY AND TRADITION UNITE IN SAN ANTONIO, 2004, : 290 - 292
  • [43] Hybrid Test Data Generation
    Liu, Zicong
    Chen, Zhenyu
    Fang, Chunrong
    Shi, Qingkai
    36TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE COMPANION 2014), 2014, : 630 - 631
  • [44] Model generation by domain refinement and rule reduction
    Sudkamp, T
    Knapp, A
    Knapp, J
    IEEE TRANSACTIONS ON SYSTEMS MAN AND CYBERNETICS PART B-CYBERNETICS, 2003, 33 (01): : 45 - 55
  • [45] Dynamic Generation of Test Cases with Metaheuristics
    Lanzarini, Laura
    Pablo La Battaglia, Juan
    JOURNAL OF COMPUTER SCIENCE & TECHNOLOGY, 2010, 10 (02): : 91 - 96
  • [46] Input Domain Reduction through Irrelevant Variable Removal and Its Effect on Local, Global, and Hybrid Search-Based Structural Test Data Generation
    McMinn, Phil
    Harman, Mark
    Lakhotia, Kiran
    Hassoun, Youssef
    Wegener, Joachim
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2012, 38 (02) : 453 - 477
  • [47] Dynamic stopping criteria for search-based test data generation for path testing
    Hermadi, I.
    Lokan, C.
    Sarker, R.
    INFORMATION AND SOFTWARE TECHNOLOGY, 2014, 56 (04) : 395 - 407
  • [48] Search-based Software Testing and Test Data Generation for a Dynamic Programming Language
    Mairhofer, Stefan
    Feldt, Robert
    Torkar, Richard
    GECCO-2011: PROCEEDINGS OF THE 13TH ANNUAL GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE, 2011, : 1859 - 1866
  • [49] Automated Coverage-Driven Test Data Generation Using Dynamic Symbolic Execution
    Su, Ting
    Pu, Geguang
    Fang, Bin
    He, Jifeng
    Yan, Jun
    Jiang, Siyuan
    Zhao, Jianjun
    2014 EIGHTH INTERNATIONAL CONFERENCE ON SOFTWARE SECURITY AND RELIABILITY, 2014, : 98 - 107
  • [50] A generalized test generation procedure for path delay faults
    Pomeranz, I
    Reddy, SM
    TWENTY-EIGHTH ANNUAL INTERNATIONAL SYMPOSIUM ON FAULT-TOLERANT COMPUTING, DIGEST PAPERS, 1998, : 274 - 283