Coverage-Based Testing with Symbolic Transition Systems

被引:8
|
作者
van den Bos, Petra [1 ]
Tretmans, Jan [1 ,2 ]
机构
[1] Radboud Univ Nijmegen, Inst Comp & Informat Sci, Nijmegen, Netherlands
[2] ESI TNO, Eindhoven, Netherlands
来源
TESTS AND PROOFS (TAP 2019) | 2019年 / 11823卷
关键词
TEST-GENERATION; FRAMEWORK; EXECUTION;
D O I
10.1007/978-3-030-31157-5_5
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
We provide a model-based testing approach for systems comprising both state-transition based control flow, and data elements such as variables and data-dependent transitions. We propose test generation and execution, based on model-coverage: we generate test cases that aim to reach all transitions of the model. To obtain a test case reaching a certain transition, we need to combine reachability in the control flow, and satisfiability of the data elements of the model. Concrete values for data parameters are generated on-the-fly, i.e., during test execution, such that received outputs from the system can be taken into account for the inputs later provided in test execution. Due to undecidability of the satisfiability problem, SMT solvers may return result 'unknown'. Our algorithm deals with this explicitly. We implemented our method in Maude combined with Z3, and use this to demonstrate the applicability of our method on the Bounded Retransmission Protocol benchmark. We measure performance by counting the number of inputs and outputs needed to discover bugs in mutants, i.e., in non-conforming variants of the specification. As a result, we find that we perform 3 times better, according to the geometric mean, than when using random testing as implemented by the tool TorXakis.
引用
收藏
页码:64 / 82
页数:19
相关论文
共 50 条
  • [1] Coverage-Based Testing of Obligations in NGAC Systems
    Chen, Erzhuo
    Dubrovenski, Vladislav
    Xu, Dianxiang
    [J]. PROCEEDINGS OF THE 28TH ACM SYMPOSIUM ON ACCESS CONTROL MODELS AND TECHNOLOGIES, SACMAT 2023, 2023, : 169 - 179
  • [2] Discover deeper bugs with dynamic symbolic execution and coverage-based fuzz testing
    Zhang, Bin
    Feng, Chao
    Herrera, Adrian
    Chipounov, Vitaly
    Candea, George
    Tang, Chaojing
    [J]. IET SOFTWARE, 2018, 12 (06) : 507 - 519
  • [3] A Survey of Coverage-Based Testing Tools
    Yang, Qian
    Li, J. Jenny
    Weiss, David M.
    [J]. COMPUTER JOURNAL, 2009, 52 (05): : 589 - 597
  • [4] Automated Coverage-Based Testing of XACML Policies
    Xu, Dianxiang
    Shrestha, Roshan
    Shen, Ning
    [J]. SACMAT'18: PROCEEDINGS OF THE 23RD ACM SYMPOSIUM ON ACCESS CONTROL MODELS & TECHNOLOGIES, 2018, : 3 - 14
  • [5] Coverage-Based Testing for Service Level Agreements
    Palacios, Marcos
    Garcia-Fanjul, Jose
    Tuya, Javier
    Spanoudakis, George
    [J]. IEEE TRANSACTIONS ON SERVICES COMPUTING, 2015, 8 (02) : 299 - 313
  • [6] Towards Scalable Coverage-Based Testing of Autonomous Vehicles
    Tu, James
    Suo, Simon
    Zhang, Chris
    Wong, Kelvin
    Urtasun, Raquel
    [J]. CONFERENCE ON ROBOT LEARNING, VOL 229, 2023, 229
  • [7] Classification and Coverage-Based Falsification for Embedded Control Systems
    Adimoolam, Arvind
    Dang, Thao
    Donze, Alexandre
    Kapinski, James
    Jin, Xiaoqing
    [J]. COMPUTER AIDED VERIFICATION, CAV 2017, PT I, 2017, 10426 : 483 - 503
  • [8] Coverage-based, prioritized testing using neural network clustering
    Gokce, Nida
    Eminov, Mubariz
    Belli, Fevzi
    [J]. COMPUTER AND INFORMATION SCIENCES - ISCIS 2006, PROCEEDINGS, 2006, 4263 : 1060 - 1071
  • [9] Coverage-Based Software Testing: Beyond Basic Test Requirements
    Masri, W.
    Zaraket, F. A.
    [J]. ADVANCES IN COMPUTERS, VOL 103, 2016, 103 : 79 - 142
  • [10] On Coverage-Based Attack Profiles
    Rivers, Anthony T.
    Vouk, Mladen A.
    Williams, Laurie
    [J]. 2014 IEEE EIGHTH INTERNATIONAL CONFERENCE ON SOFTWARE SECURITY AND RELIABILITY - COMPANION (SERE-C 2014), 2014, : 5 - 6