X-Data: Generating Test Data for Killing SQL Mutants

被引:9
|
作者
Gupta, Bhanu Pratap [1 ]
Vira, Devang [1 ]
Sudarshan, S. [1 ]
机构
[1] Indian Inst Technol, Bombay 400076, Maharashtra, India
来源
26TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING ICDE 2010 | 2010年
关键词
D O I
10.1109/ICDE.2010.5447862
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Checking if an SQL query has been written correctly is not an easy task. Formal verification is not applicable, since it is based on comparing a specification with an implementation, whereas SQL queries are essentially a specification without any implementation. Thus, the standard approach for testing queries is to manually check query results on test datasets. Intuitively, a mutant is a query variant that could have been the correct query if the query was in error; a mutant is killed by a dataset if the original query and the mutant return different results on the dataset. In this paper, we address the problem of generation of test data for an SQL query, to kill mutants. Our work focuses in particular on a class of join/outer-join mutants, which are a common cause of error. To minimize human effort in testing, our techniques generate a test suite containing small and intuitive test datasets, combining them into a single dataset where possible. In the absence of foreign-key constraints, and under certain assumptions, the test suite is complete, i.e. it kills all non-equivalent mutations, in the class of join-type mutations that we consider. We also consider some common types of where-clause predicate mutants. Our techniques have been implemented in a prototype data generation tool.
引用
收藏
页码:876 / 879
页数:4
相关论文
共 50 条
  • [21] Generating Software Test Data by Particle Swarm Optimization
    Jia, Ya-Hui
    Chen, Wei-Neng
    Zhang, Jun
    Li, Jing-Jing
    SIMULATED EVOLUTION AND LEARNING (SEAL 2014), 2014, 8886 : 37 - 47
  • [22] Practical Constraint Solving for Generating System Test Data
    Soltana, Ghanem
    Sabetzadeh, Mehrdad
    Briand, Lionel C.
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2020, 29 (02)
  • [23] AUTOMATICALLY GENERATING TEST DATA FROM A BOOLEAN SPECIFICATION
    WEYUKER, E
    GORADIA, T
    SINGH, A
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1994, 20 (05) : 353 - 363
  • [24] Adapting Unit Tests by Generating Combinatorial Test Data
    Felbinger, Hermann
    Wotawa, Franz
    Nica, Mihai
    2018 IEEE 11TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2018, : 352 - 355
  • [25] SynConSMutate: Concolic Testing of Database Applications via Synthetic Data Guided by SQL Mutants
    Sarkar, Tanmoy
    Basu, Samik
    Wong, Johnny
    PROCEEDINGS OF THE 2013 10TH INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY: NEW GENERATIONS, 2013, : 337 - 342
  • [26] Generating technique for software reliability test data based on test profile
    School of Electronics and Information Engineering, Xi'an Jiaotong University, Xi'an 710049, China
    Hsi An Chiao Tung Ta Hsueh, 2006, 10 (1073-1077):
  • [27] An Approach to Generating Test Data Sequences of Boundary Scan Test System
    Deng Xiaopeng
    Xu Simao
    Zhang Yong
    PROCEEDINGS OF 2013 IEEE 11TH INTERNATIONAL CONFERENCE ON ELECTRONIC MEASUREMENT & INSTRUMENTS (ICEMI), 2013, : 264 - 270
  • [28] Generating Test Data Using Symbolic Execution: Challenges with Floating Point Data Types
    Prelgauskas, Justinas
    Bareisa, Eduardas
    INFORMATION AND SOFTWARE TECHNOLOGIES, 2012, 319 : 267 - 274
  • [29] Generating of Test Data by Harmony Search Against Genetic Algorithms
    Ghiduk, Ahmed S.
    Alharbi, Abdullah
    INTELLIGENT AUTOMATION AND SOFT COMPUTING, 2023, 36 (01): : 647 - 665