Automatic generation of database instances for white-box testing

被引:24
|
作者
Zhang, B [1 ]
Xu, C [1 ]
Cheung, SC [1 ]
机构
[1] Chinese Acad Sci, Inst Software, Comp Sci Lab, Beijing 100080, Peoples R China
关键词
database applications; embedded SQL; constraint solving; automatic test data generation; software testing;
D O I
10.1109/CMPSAC.2001.960612
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Testing is a critical activity for database application programs as faults if undetected could lead to unrecoverable data loss. Database application programs typically contain statements written in an imperative programming language with embedded data manipulation commands, such as SQL. However relatively little study has been made in the testing of database application programs. In particular, few testing techniques explicitly consider the inclusion of database instances in the selection of test cases and the generation of test data input. In this paper we study the generation of database instances that respect the semantics of SQL statements embedded in a database application program. The paper also describes a supporting tool which generates a set of constraints. These constraints collectively represent a property against which the program is tested. Database instances for program testing can be derived by solving the set of constraints using existing constraint solvers.
引用
收藏
页码:161 / 165
页数:3
相关论文
共 50 条
  • [1] Database instances Generation Tool for White-box Testing
    Shelar, Samidha
    Sawarkar, S. D.
    [J]. PROCEEDINGS OF THE 2009 INTERNATIONAL CONFERENCE ON SIGNAL ACQUISITION AND PROCESSING, 2009, : 112 - +
  • [2] An Efficient Method for Automatic Generation of Linearly Independent Paths in White-box Testing
    Wang, Xinyang
    Jiang, Yaqiu
    Tian, Wenhong
    [J]. INTERNATIONAL JOURNAL OF ENGINEERING AND TECHNOLOGY INNOVATION, 2015, 5 (02) : 108 - 120
  • [3] White-box testing
    Cole, O
    [J]. DR DOBBS JOURNAL, 2000, 25 (03): : 23 - +
  • [4] Boundary Value Analysis in Automatic White-box Test Generation
    Zhang, Zhiqiang
    Wu, Tianyong
    Zhang, Jian
    [J]. 2015 IEEE 26TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE), 2015, : 239 - 249
  • [5] On path-wise automatic generation of test data for both white-box and black-box testing
    Shan, JH
    Wang, J
    Qi, ZC
    [J]. APSEC 2001: EIGHTH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2001, : 237 - 240
  • [6] Automatic white-box testing of first-order logic ontologies
    Alvez, Javier
    Hermo, Montserrat
    Lucio, Paqui
    Rigau, German
    [J]. JOURNAL OF LOGIC AND COMPUTATION, 2019, 29 (05) : 723 - 751
  • [7] Hunting the Unknown White-Box Database Leakage Detection
    Costante, Elisa
    den Hartog, Jerry
    Petkovic, Milan
    Etalle, Sandro
    Pechenizkiy, Mykola
    [J]. DATA AND APPLICATIONS SECURITY AND PRIVACY XXVIII, 2014, 8566 : 243 - 259
  • [8] A practical guide to SQL white-box testing
    Tuya, Javier
    Suarez-Cabal, M. Jose
    de la Riva, Claudio
    [J]. ACM SIGPLAN NOTICES, 2006, 41 (04) : 36 - 41
  • [9] Automated isolation for white-box test generation
    Honfi, David
    Micskei, Zoltan
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2020, 125
  • [10] White-Box Path Generation in Recursive Programs
    Pena, Ricardo
    Sanchez-Hernandez, Jaime
    [J]. TRENDS IN FUNCTIONAL PROGRAMMING, TFP 2020, 2020, 12222 : 121 - 135