JDAMA: Java']Java database application mutation analyser

被引:9
作者
Zhou, Chixiang [1 ]
Frankl, Phyllis [1 ]
机构
[1] NYU, Dept Comp Sci & Engn, Polytech Inst, Brooklyn, NY 11201 USA
关键词
software testing; database application testing; mutation testing; empirical evaluation; !text type='Java']Java[!/text;
D O I
10.1002/stvr.462
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Database application programs are ubiquitous; hence, good techniques for testing them are needed. Several approaches to testing database applications have been proposed recently, including test generation techniques and adequacy criteria. Tuya et al. proposed mutation-based adequacy criteria for database queries and developed a set of mutation operators for Structured Query Language SELECT statements. This paper extends that approach by integrating it with analysis and instrumentation of the application bytecode. The design and implementation of a tool, Java Database Application Mutation Analyser (JDAMA), are described. JDAMA instruments application bytecode so as to compare the results of queries executed by the application under test to the results of mutants of those queries. JDAMA can be used to support mutation testing for Java database applications. A second, potentially more useful application of JDAMA is to support experiments evaluating testing techniques for database applications, in which query mutation is used to seed faults into subject applications. The paper illustrates these uses of JDAMA with experiments comparing two approaches to test generation and experiments evaluating coverage criteria. Copyright (C) 2011 John Wiley & Sons, Ltd.
引用
收藏
页码:241 / 263
页数:23
相关论文
共 31 条
  • [1] Using mutation analysis for assessing and comparing testing coverage criteria
    Andrews, James H.
    Briand, Lionel C.
    Labiche, Yvan
    Namin, Akbar Siami
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2006, 32 (08) : 608 - 624
  • [2] Is mutation an appropriate tool for testing experiments?
    Andrews, JH
    Briand, LC
    Labiche, Y
    [J]. ICSE 05: 27TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2005, : 402 - 411
  • [3] [Anonymous], P 2 INT WORKSH TEST
  • [4] [Anonymous], 2007, P INT C DAT ENG, DOI DOI 10.1109/ICDE.2007.367896
  • [5] Binnig Carsten, 2007, P ACM SIGMOD INT C M, P341
  • [6] CABAL MJS, 2009, J UNIVERS COMPUT SCI, V15, P584
  • [7] An AGENDA for testing relational database applications
    Chays, D
    Deng, YT
    Frankl, PG
    Dan, S
    Vokoloo, FI
    Weyuker, EJ
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2004, 14 (01) : 17 - 44
  • [8] Chays D., 2008, DBTEST, P6
  • [9] CHAYS D, 2000, P INT S SOFTW TEST A, P147
  • [10] Christensen AS, 2003, LECT NOTES COMPUT SC, V2694, P1