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 条
  • [41] Software Test Data Generation using Ant Colony Optimization
    Li, Huaizhong
    Lam, C. Peng
    PROCEEDINGS OF WORLD ACADEMY OF SCIENCE, ENGINEERING AND TECHNOLOGY, VOL 1, 2007, 1 : 1 - 4
  • [42] PAIRWISE TEST DATA GENERATION BASED ON FLOWER POLLINATION ALGORITHM
    Nasser, Abdullah B.
    Alsewari, AbdulRahman A.
    Tairan, Nasser M.
    Zamli, Kamal Z.
    MALAYSIAN JOURNAL OF COMPUTER SCIENCE, 2017, 30 (03) : 242 - 257
  • [43] Retrospective on: Constraint-Based Automatic Test Data Generation
    Offutt, Jeff
    Demillo, Richard
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2025, 51 (03) : 754 - 758
  • [44] Automated Software Test Data Generation With Generative Adversarial Networks
    Guo, Xiujing
    Okamura, Hiroyuki
    Dohi, Tadashi
    IEEE ACCESS, 2022, 10 : 20690 - 20700
  • [45] Scalability analysis of Grammatical Evolution Based Test Data Generation
    Anjum, Muhammad Sheraz
    Ryan, Conor
    GECCO'20: PROCEEDINGS OF THE 2020 GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE, 2020, : 1213 - 1221
  • [46] Generalized Extremal Optimization: An Attractive Alternative for Test Data Generation
    de Abreu, Bruno T.
    Martins, Eliane
    de Sousa, Fabiano L.
    GECCO 2007: GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE, VOL 1 AND 2, 2007, : 1138 - 1138
  • [47] ADTEST: A test data generation suite for Ada software systems
    Gallagher, MJ
    Narasimhan, VL
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1997, 23 (08) : 473 - 484
  • [48] Automated test data generation using a scatter search approach
    Blanco, Raquel
    Tuya, Javier
    Adenso-Diaz, Belarmino
    INFORMATION AND SOFTWARE TECHNOLOGY, 2009, 51 (04) : 708 - 720
  • [49] Test-Data Generation Guided by Static Defect Detection
    Hao, Dan
    Zhang, Lu
    Liu, Ming-Hao
    Li, He
    Sun, Jia-Su
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2009, 24 (02) : 284 - 293
  • [50] An algorithm for efficient assertions-based test data generation
    Alakeel A.M.
    Journal of Software, 2010, 5 (06) : 644 - 653