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 条
  • [11] Genetic algorithms for dynamic test data generation
    Michael, CC
    McGraw, GE
    Schatz, MA
    Walton, CC
    AUTOMATED SOFTWARE ENGINEERING, 12TH IEEE INTERNATIONAL CONFERENCE, PROCEEDINGS, 1997, : 307 - 308
  • [12] Automatic test generation for dynamic data structures
    Zhao, Ruilian
    Li, Qing
    SERA 2007: 5TH ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH, MANAGEMENT, AND APPLICATIONS, PROCEEDINGS, 2007, : 545 - +
  • [13] Application of Dynamic Slicing in Test Data Generation
    Guo, Suwei
    Zhao, Ruilian
    Li, Lijian
    Tsinghua Science and Technology, 2007, 12 (SUPPL. 1): : 150 - 155
  • [14] Dynamic method for software test data generation
    Korel, Bogdan
    Software Testing Verification and Reliability, 1992, 2 (04) : 203 - 213
  • [15] DYNAMIC METHOD OF TEST DATA GENERATION FOR DISTRIBUTED SOFTWARE
    KOREL, B
    WEDDE, H
    FERGUSON, R
    INFORMATION AND SOFTWARE TECHNOLOGY, 1992, 34 (08) : 523 - 531
  • [16] An Applicable Test Data Generation Algorithm for Domain Errors and Analysis
    Forgacs, I.
    Hajnal, A.
    Software Engineering Notes, 23 (02):
  • [17] Automatic string test data generation for detecting domain errors
    Zhao, Ruilian
    Lyu, Michael R.
    Min, Yinghua
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2010, 20 (03): : 209 - 236
  • [18] Application of dynamic program slicing technique in test data generation
    Hong, Mao Yang
    Qin, Lin Ruo
    8TH INTERNATIONAL CONFERENCE ON ADVANCES IN INFORMATION TECHNOLOGY, 2017, 111 : 355 - 360
  • [19] Dynamic test data generation for the nonlinear models with genetic algorithms
    Dobrescu, A.
    Device Applications of Nonlinear Dynamics, 2006, : 229 - 235
  • [20] Dynamic search space transformations for software test data generation
    Sagana, Ramon
    Lozano, Jose A.
    COMPUTATIONAL INTELLIGENCE, 2008, 24 (01) : 23 - 61