Combining Bug Detection and Test Case Generation

被引:3
|
作者
Kellogg, Martin [1 ]
机构
[1] Univ Washington, Seattle, WA 98195 USA
关键词
N-variant systems; mutational robustness; mutation; N-Prog; STATIC ANALYSIS;
D O I
10.1145/2950290.2983970
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Detecting bugs in software is an important software engineering activity. Static bug finding tools can assist in detecting bugs automatically, but they suffer from high false positive rates. Automatic test generation tools can generate test cases which can find bugs, but they suffer from an oracle problem. We present N-Prog, a hybrid of the two approaches. N-Prog iteratively presents the developer an interesting, real input/output pair. The developer either classifies it as a bug (when the output is incorrect) or adds it to the regression test suite (when the output is correct). N-Prog selects input/output pairs whose input produces different output on a mutated version of the program which passes the test suite of the original. In initial experiments, N-Prog detected bugs and rediscovered test cases that had been removed from a test suite.
引用
收藏
页码:1124 / 1126
页数:3
相关论文
共 50 条
  • [1] Combining test case generation and runtime verification
    Artho, C
    Barringer, H
    Goldberg, A
    Havelund, K
    Khurshid, S
    Lowry, M
    Pasareanu, C
    Rosu, G
    Sen, K
    Visser, W
    Washington, R
    [J]. THEORETICAL COMPUTER SCIENCE, 2005, 336 (2-3) : 209 - 234
  • [2] BugOut: Automated Test Generation and Bug Detection for Low-Code
    Coutinho, Joana
    Lemos, Alexandre
    Terra-Neves, Miguel
    Ribeiro, Andre
    Manquinho, Vasco
    Quintino, Rui
    Matejczyk, Bartlomiej
    [J]. 2024 IEEE CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION, ICST 2024, 2024, : 373 - 382
  • [3] Semi-Automatic Bug Generation Using Test Case Negation
    Westland, Tyler
    Niu, Nan
    Jhaa, Rashmi
    Kapp, David
    Kebede, Temesguen
    [J]. PROCEEDINGS OF THE 2021 IEEE INTERNATIONAL CONFERENCE ON CYBER SECURITY AND RESILIENCE (IEEE CSR), 2021, : 141 - 146
  • [4] Combining static and dynamic reasoning for bug detection
    Smaragdakis, Yannis
    Csallner, Christoph
    [J]. TESTS AND PROOFS, 2007, 4454 : 1 - +
  • [5] Test-Case Generation and Bug-Finding through Symbolic Execution
    Bester, W. H. K.
    Inggs, C. P.
    Visser, W. C.
    [J]. PROCEEDINGS OF THE SOUTH AFRICAN INSTITUTE FOR COMPUTER SCIENTISTS AND INFORMATION TECHNOLOGISTS CONFERENCE, 2012, : 1 - 9
  • [6] Combining algebraic and model-based test case generation
    Dan, L
    Aichernig, BK
    [J]. THEORETICAL ASPECTS OF COMPUTING - ICTAC 2004, 2005, 3407 : 250 - 264
  • [7] Combining behavior and data modeling in automated test case generation
    Schroeder, PJ
    Kim, E
    Arshem, J
    Bolaki, P
    [J]. THIRD INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, PROCEEDINGS, 2003, : 247 - 254
  • [8] Leveraging Test Generation and Specification Mining for Automated Bug Detection without False Positives
    Pradel, Michael
    Gross, Thomas R.
    [J]. 2012 34TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2012, : 288 - 298
  • [9] Test Case Generation for Vulnerability Detection Using Genetic Algorithm
    Shuai, Bo
    Li, Haifeng
    Wang, Jian
    Zhang, Quan
    Tang, Chaojing
    [J]. PROCEEDINGS OF THE 2015 4TH NATIONAL CONFERENCE ON ELECTRICAL, ELECTRONICS AND COMPUTER ENGINEERING ( NCEECE 2015), 2016, 47 : 1198 - 1203
  • [10] Development of a lateral flow test for bed bug detection
    Ko, Alexander
    Choe, Dong-Hwan
    [J]. SCIENTIFIC REPORTS, 2020, 10 (01)