iConSMutate: Concolic Testing of Database Applications Using Existing Database States Guided by SQL Mutants

被引:4
|
作者
Sarkar, Tanmoy [1 ]
Basu, Samik [1 ]
Wong, Johnny [1 ]
机构
[1] Iowa State Univ, Dept Comp Sci, Ames, IA 50011 USA
关键词
Automatic TestCase Generation; Program Analysis; Query Processing; Database State Generation; Mutation Analysis;
D O I
10.1109/ITNG.2014.82
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Recent testing techniques for database applications typically include generation of both program inputs and database states (synthetic data). The quality of such test cases is evaluated on the basis of structural coverage of the host language (e.g., Java), whereas, the quality of test cases for the embedded language (e.g., SQL) is evaluated separately using mutation testing. In mutation testing, several mutants of the original query are generated and mutation score is calculated. It is the percentage of mutants that can be killed using the given test cases. Higher mutation score indicates higher quality in terms of identifying programming errors. In existing approaches, the generated test cases achieve high structural coverage with the help of synthetic data, but may suffer from low mutation score. In practice, there may exist a copy of live databases that can be used for database application testing. Using an existing database state is desirable since it tends to be representative of real-world scenarios. We propose a novel framework called iConSMutate to generate test cases for a database application by reusing the existing database state. The generated test cases ensure high quality both in terms of coverage of code written in the host language and mutant detection of the queries written in the embedded language.
引用
收藏
页码:479 / 484
页数:6
相关论文
共 50 条
  • [1] SynConSMutate: Concolic Testing of Database Applications via Synthetic Data Guided by SQL Mutants
    Sarkar, Tanmoy
    Basu, Samik
    Wong, Johnny
    [J]. PROCEEDINGS OF THE 2013 10TH INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY: NEW GENERATIONS, 2013, : 337 - 342
  • [2] Program-input generation for testing database applications using existing database states
    Kai Pan
    Xintao Wu
    Tao Xie
    [J]. Automated Software Engineering, 2015, 22 : 439 - 473
  • [3] Program-input generation for testing database applications using existing database states
    Pan, Kai
    Wu, Xintao
    Xie, Tao
    [J]. AUTOMATED SOFTWARE ENGINEERING, 2015, 22 (04) : 439 - 473
  • [4] Mutation Analysis for SQL Database Applications
    Cabeca, Andrea Goncalves
    Jino, Mario
    Leitao-Junior, Plinio S.
    [J]. 2009 FOURTH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING ADVANCES (ICSEA 2009), 2009, : 146 - +
  • [5] Full predicate coverage for testing SQL database queries
    Tuya, Javier
    Jose Suarez-Cabal, Maria
    de la Riva, Claudio
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2010, 20 (03): : 237 - 288
  • [6] The Design of a System for Testing Database-Centric Software Applications using Database Surrogates
    Bonar, Adrian W.
    [J]. PROCEEDINGS OF THE 2009 SIXTH INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY: NEW GENERATIONS, VOLS 1-3, 2009, : 779 - 783
  • [7] Efficient Testing of Database Applications
    Baig, Mirza Mahmood
    Khan, Ansar Ahmad
    [J]. INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2009, 9 (04): : 230 - 236
  • [8] Testing Database Applications with Polygraph
    Alabdulkarim, Yazeed
    Almaymoni, Marwan
    Ghandeharizadeh, Shahram
    Huang, Haoyu
    Hieu Nguyen
    [J]. IIWAS2018: THE 20TH INTERNATIONAL CONFERENCE ON INFORMATION INTEGRATION AND WEB-BASED APPLICATIONS & SERVICES, 2014, : 200 - 206
  • [9] Specification and development of database applications based on Z and SQL
    Shahreza, Maryam Lotfi
    Moeini, Ali
    Mesbah, Rahmat Ollah
    [J]. 2009 INTERNATIONAL CONFERENCE ON INFORMATION MANAGEMENT AND ENGINEERING, PROCEEDINGS, 2009, : 399 - +
  • [10] Profiling database applications to detect SQL injection attacks
    Bertino, Elisa
    Kamra, Ashish
    Early, James P.
    [J]. 2007 IEEE INTERNATIONAL PERFORMANCE COMPUTING AND COMMUNICATIONS CONFERENCE, VOLS 1 AND 2, 2007, : 449 - +