Combining test case generation and runtime verification

被引:43
|
作者
Artho, C
Barringer, H
Goldberg, A
Havelund, K
Khurshid, S
Lowry, M
Pasareanu, C
Rosu, G
Sen, K
Visser, W
Washington, R
机构
[1] ETH, Inst Comp Syst, CH-8092 Zurich, Switzerland
[2] Univ Manchester, Sch Comp Sci, Manchester M13 9PL, Lancs, England
[3] Univ Texas, UT ARISE, Austin, TX 78712 USA
[4] NASA, Ames Res Ctr, Kestrel Technol, Moffett Field, CA 94035 USA
[5] Univ Illinois, Dept Comp Sci, Urbana, IL 61801 USA
[6] NASA, Ames Res Ctr, RIACS, Moffett Field, CA 94035 USA
关键词
automated testing; test case generation; model checking; symbolic execution; runtime verification; temporal logic; concurrency analysis; NASA rover controller;
D O I
10.1016/j.tcs.2004.11.007
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Software testing is typically an ad hoe process where human testers manually write test inputs and descriptions of expected test results, perhaps automating their execution in a regression suite. This process is cumbersome and costly. This paper reports results on a framework to further automate this process. The framework consists of combining automated test case generation based on systematically exploring the input domain of the program with runtime verification, where execution traces are monitored and verified against properties expressed in temporal logic. Capabilities also exist for analyzing traces for concurrency errors, such as deadlocks and data races. The input domain of the program is explored using a model checker extended with symbolic execution. Properties are formulated in an expressive temporal logic. A methodology is advocated that automatically generates properties specific to each input rather than formulating properties uniformly true for all inputs. The paper describes an application of the technology to a NASA rover controller. 2004 Published by Elsevier B.V.
引用
收藏
页码:209 / 234
页数:26
相关论文
共 50 条
  • [1] Experiments with test case generation and runtime analysis
    Artho, C
    Drusinksy, D
    Goldberg, A
    Havelund, K
    Lowry, M
    Pasareanu, C
    Rosu, G
    Visser, W
    [J]. ABSTRACT STATE MACHINES 2003: ADVANCES IN THEORY AND PRACTICE, PROCEEDINGS, 2003, 2589 : 87 - 107
  • [2] Runtime Verification of Generalized Test Tables
    Weigl, Alexander
    Ulbrich, Mattias
    Tyszberowicz, Shmuel
    Klamroth, Jonas
    [J]. NASA FORMAL METHODS (NFM 2021), 2021, 12673 : 358 - 374
  • [3] Tainting in Smart Contracts: Combining Static and Runtime Verification
    Azzopardi, Shaun
    Ellul, Joshua
    Falzon, Ryan
    Pace, Gordon J.
    [J]. RUNTIME VERIFICATION (RV 2022), 2022, 13498 : 143 - 161
  • [4] Combining Model Checking and Runtime Verification for Safe Robotics
    Desai, Ankush
    Dreossi, Tommaso
    Seshia, Sanjit A.
    [J]. RUNTIME VERIFICATION (RV 2017), 2017, 10548 : 172 - 189
  • [5] Combining Bug Detection and Test Case Generation
    Kellogg, Martin
    [J]. FSE'16: PROCEEDINGS OF THE 2016 24TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2016, : 1124 - 1126
  • [6] TP-DejaVu: Combining Operational and Declarative Runtime Verification
    Havelund, Klaus
    Katsaros, Panagiotis
    Omer, Moran
    Peled, Doron
    Temperekidis, Anastasios
    [J]. VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION, VMCAI 2024, PT II, 2024, 14500 : 249 - 263
  • [7] Verification Coverage for Combining Test and Proof
    Viet Hoang Le
    Correnson, Loic
    Signoles, Julien
    Wiels, Virginie
    [J]. TESTS AND PROOFS, TAP 2018, 2018, 10889 : 120 - 138
  • [8] DSP core verification using automatic test case generation
    Glökler, T
    Bitterlich, S
    Meyr, H
    [J]. 2000 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING, PROCEEDINGS, VOLS I-VI, 2000, : 3271 - 3274
  • [9] Graph based test case generation for TLM functional verification
    Kakoee, Mohammad Reza
    Neishaburi, M. H.
    Mohammadi, Siamak
    [J]. MICROPROCESSORS AND MICROSYSTEMS, 2008, 32 (5-6) : 288 - 295
  • [10] Combining algebraic and model-based test case generation
    Dan, L
    Aichernig, BK
    [J]. THEORETICAL ASPECTS OF COMPUTING - ICTAC 2004, 2005, 3407 : 250 - 264