Test Case Generation from Conjunctions of Predicates with Model Checking

被引:0
作者
Tian Cong [1 ,2 ]
Liu Shaoying [3 ]
Duan Zhenhua [1 ,2 ]
机构
[1] Xidian Univ, ICTT, Xian 710071, Peoples R China
[2] Xidian Univ, ISN Lab, Xian 710071, Peoples R China
[3] Hosei Univ, Dept Comp Sci, Tokyo, Japan
基金
中国国家自然科学基金;
关键词
Model checking; Testing; Testing cases;
D O I
暂无
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Automatic test case generation from a pre-post style formal specification must deal with the issue of how to generate test cases from a conjunction of atomic predicate expressions, but unfortunately this problem has not been effectively solved due to its intrinsic difficulty. We describe a practical approach to tackling this problem by utilizing the model checking technique. An algorithm that converts test case generation from a conjunction of atomic predicate expressions into model checking is proposed. We discuss how the algorithm deals with atomic predicate expressions involving only variables of numeric types, and extend the discussion to variables of compound types such as set, sequence, and composite types. Case studies are presented to assess the feasibility and effectiveness of our approach.
引用
收藏
页码:271 / 277
页数:7
相关论文
共 50 条
  • [31] BlueCov: Integrating Test Coverage and Model Checking with JBMC
    Guedemann, Matthias
    Schrammel, Peter
    38TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, SAC 2023, 2023, : 1695 - 1697
  • [32] Specification and Generation of Environment for Model Checking of Software Components
    Parizek, Pavel
    Plasil, Frantisek
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2007, 176 (02) : 143 - 154
  • [33] A Model-Driven Methodology for Automotive Cybersecurity Test Case Generation
    Marksteiner, Stefan
    Priller, Peter
    2021 IEEE EUROPEAN SYMPOSIUM ON SECURITY AND PRIVACY WORKSHOPS (EUROS&PW 2021), 2021, : 129 - 135
  • [34] A case study in model checking software systems
    Wing, JM
    VaziriFarahani, M
    SCIENCE OF COMPUTER PROGRAMMING, 1997, 28 (2-3) : 273 - 299
  • [35] Singularity: A methodology for automatic unit test data generation for C plus plus applications based on Model Checking counterexamples
    Eras, Eduardo Rohde
    de Santiago Junior, Valdivino Alexandre
    Rebelo dos Santos, Luciana Brasil
    SAST 2019: PROCEEDINGS OF THE IV BRAZILIAN SYMPOSIUM ON SYSTEMATIC AND AUTOMATED SOFTWARE TESTING, 2019, : 72 - 79
  • [36] Using the NuSMV Model Checker for Test Generation from Statecharts
    Kadono, Masaya
    Tsuchiya, Tatsuhiro
    Kikuno, Tohru
    IEEE 15TH PACIFIC RIM INTERNATIONAL SYMPOSIUM ON DEPENDABLE COMPUTING, PROCEEDINGS, 2009, : 37 - 42
  • [37] Increasing Diversity in Coverage Test Suites using Model Checking
    Fraser, Gordon
    Wotawa, Franz
    2009 NINTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE (QSIC 2009), 2009, : 211 - 218
  • [38] Automatic generation of optimal controllers through model checking techniques
    Della Penna, Giuseppe
    Magazzeni, Daniele
    Tofani, Alberto
    Intrigila, Benedetto
    Melatti, Igor
    Tronci, Enrico
    ICINCO 2006: PROCEEDINGS OF THE THIRD INTERNATIONAL CONFERENCE ON INFORMATICS IN CONTROL, AUTOMATION AND ROBOTICS: INTELLIGENT CONTROL SYSTEMS AND OPTIMIZATION, 2006, : 26 - +
  • [39] Experiments on the Test Case Length in Specification Based Test Case Generation
    Fraser, Gordon
    Gargantini, Angelo
    2009 ICSE WORKSHOP ON AUTOMATION OF SOFTWARE TEST, 2009, : 18 - +
  • [40] Efficient test case generation for validation of UML activity diagrams
    Mingsong Chen
    Prabhat Mishra
    Dhrubajyoti Kalita
    Design Automation for Embedded Systems, 2010, 14 : 105 - 130