Automatically Generating Test Cases for Specification Mining

被引:46
|
作者
Dallmeier, Valentin [1 ]
Knopp, Nikolai [1 ]
Mallon, Christoph [2 ]
Fraser, Gordon [1 ]
Hack, Sebastian [2 ]
Zeller, Andreas [1 ]
机构
[1] Univ Saarland, Saarland Univ Chair Software Engn, D-66123 Saarbrucken, Germany
[2] Univ Saarland, Saarland Univ Compiler Design Lab, D-66123 Saarbrucken, Germany
关键词
Specification mining; test case generation; typestate analysis;
D O I
10.1109/TSE.2011.105
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Dynamic specification mining observes program executions to infer models of normal program behavior. What makes us believe that we have seen sufficiently many executions? The TAUTOKO ("Tautoko" is the Maori word for "enhance, enrich.") typestate miner generates test cases that cover previously unobserved behavior, systematically extending the execution space, and enriching the specification. To our knowledge, this is the first combination of systematic test case generation and typestate mining-a combination with clear benefits: On a sample of 800 defects seeded into six Java subjects, a static typestate verifier fed with enriched models would report significantly more true positives and significantly fewer false positives than the initial models.
引用
收藏
页码:243 / 257
页数:15
相关论文
共 50 条
  • [31] A Case Study for Generating Test Cases from Use Cases
    Gutierrez, Javier J.
    Escalona, Maria J.
    Mejias, Manuel
    Torres, Jesus
    Centeno, Arturo H.
    PROCEEDINGS OF THE SECOND INTERNATIONAL CONFERENCE ON RESEARCH CHALLENGES IN INFORMATION SCIENCE: RCIS 2008, 2007, : 209 - 214
  • [32] Generating user acceptance test plans from test cases
    Leung, Karl R. P. H.
    Yeung, W. L.
    COMPSAC 2007: THE THIRTY-FIRST ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, VOL II, PROCEEDINGS, 2007, : 737 - +
  • [33] Automatically Generating Specification Properties From Task Models for the Formal Verification of Human-Automation Interaction
    Bolton, Matthew L.
    Jimenez, Noelia
    van Paassen, Marinus M.
    Trujillo, Maite
    IEEE TRANSACTIONS ON HUMAN-MACHINE SYSTEMS, 2014, 44 (05) : 561 - 575
  • [34] Generating test cases for a three variable function
    Debnath, NC
    Islam, MN
    Lee, RY
    Abachi, HR
    COMPUTERS AND THEIR APPLICATIONS, 2001, : 370 - 373
  • [35] WebMate: Generating Test Cases for Web 2.0
    Dallmeier, Valentin
    Burger, Martin
    Orth, Tobias
    Zeller, Andreas
    SOFTWARE QUALITY: INCREASING VALUE IN SOFTWARE AND SYSTEMS DEVELOPMENT, 2013, 133 : 55 - 69
  • [36] Generating test cases from class vectors
    Leung, KRPH
    Wong, W
    Ng, JKY
    JOURNAL OF SYSTEMS AND SOFTWARE, 2003, 66 (01) : 35 - 46
  • [37] GENERATING TEST CASES FROM FORMAL SPECIFICATIONS
    Toth, Kalman C.
    Donat, Michael R.
    Joyce, Jeffrey J.
    INCOSE International Symposium, 1996, 6 (01): : 463 - 470
  • [38] Measuring Software Testability via Automatically Generated Test Cases
    Guglielmo, Luca
    Mariani, Leonardo
    Denaro, Giovanni
    IEEE ACCESS, 2024, 12 : 63904 - 63916
  • [39] Automatically Translating Bug Reports into Test Cases for Mobile Apps
    Fazzini, Mattia
    Prammer, Martin
    D'Amorim, Marcelo
    Orso, Alessandro
    ISSTA'18: PROCEEDINGS OF THE 27TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, 2018, : 141 - 152
  • [40] A tool to automatically generate test cases for C++ programs
    Sarala, S
    Valli, S
    SERP'04: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH AND PRACTICE, VOLS 1 AND 2, 2004, : 345 - 351