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 条
  • [11] Compositional Dynamic Test Generation (Extended Abstract)
    Godefroid, Patrice
    CONFERENCE RECORD OF POPL 2007: THE 34TH ACM SIGPLAN SIGACT SYMPOSIUM ON PRINCIPLES OF PROGAMMING LANGUAGES, 2007, : 47 - 54
  • [12] Precise Pointer Reasoning for Dynamic Test Generation
    Elkarablieh, Bassem
    Godefroid, Patrice
    Levin, Michael Y.
    ISSTA 2009: INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, 2009, : 129 - 139
  • [13] Compositional dynamic test generation (extended abstract)
    Godefroid, Patrice
    ACM SIGPLAN NOTICES, 2007, 42 (01) : 47 - 54
  • [14] Test data combination strategy for effective test suite generation
    Yoon, Jae Hoon
    Kang, Jeong Seok
    Park, Hong Seong
    2013 INTERNATIONAL CONFERENCE ON IT CONVERGENCE AND SECURITY (ICITCS), 2013,
  • [15] Supporting Domain Experts by using Model-Based Equivalence Class Partitioning for Efficient Test Data Generation
    Meixner, Kristof
    Winkler, Dietmar
    Biffl, Stefan
    2019 24TH IEEE INTERNATIONAL CONFERENCE ON EMERGING TECHNOLOGIES AND FACTORY AUTOMATION (ETFA), 2019, : 134 - 141
  • [16] Rings: A Game with a Purpose for Test Data Generation
    Amiri-Chimeh, Saeed
    Haghighi, Hassan
    Vahidi-Asl, Mojtaba
    Setayesh-Ghajar, Kamyar
    Gholami-Ghavamabad, Farshad
    INTERACTING WITH COMPUTERS, 2018, 30 (01) : 1 - 30
  • [17] Incremental test data generation for database queries
    María José Suárez-Cabal
    Claudio de la Riva
    Javier Tuya
    Raquel Blanco
    Automated Software Engineering, 2017, 24 : 719 - 755
  • [18] A Searching Algorithm for Path Test Data Generation
    Jia Limin
    Li Na
    Chen Zhuo Yi
    Guo Wei
    RESEARCH IN MATERIALS AND MANUFACTURING TECHNOLOGIES, PTS 1-3, 2014, 835-836 : 1812 - +
  • [19] MTTG: An Efficient Technique for Test Data Generation
    Rabbi, Khandakar
    Islam, Rafiqul
    Mamun, Quazi
    Kaosar, Mohammed Golam
    8TH INTERNATIONAL CONFERENCE ON SOFTWARE, KNOWLEDGE, INFORMATION MANAGEMENT AND APPLICATIONS (SKIMA 2014), 2014,
  • [20] FinExpert: Domain-Specific Test Generation for FinTech Systems
    Jin, Tiancheng
    Wang, Qingshun
    Xu, Lihua
    Pan, Chunmei
    Dou, Liang
    Qian, Haifeng
    He, Liang
    Xie, Tao
    ESEC/FSE'2019: PROCEEDINGS OF THE 2019 27TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, 2019, : 853 - 862