Test input generation from cause–effect graphs

被引:0
|
作者
Deniz Kavzak Ufuktepe
Tolga Ayav
Fevzi Belli
机构
[1] University of Missouri-Columbia,Department of Electrical Engineering and Computer Science
[2] Izmir Institute of Technology,Department of Computer Engineering
[3] Paderborn University,Department of Electrical Engineering and Information Technology
来源
Software Quality Journal | 2021年 / 29卷
关键词
Test input generation; Specification-based testing; Cause–effect graph; Spectral analysis; Boolean expressions;
D O I
暂无
中图分类号
学科分类号
摘要
Cause–effect graphing is a well-known requirement-based and systematic testing method with a heuristic approach. Since it was introduced by Myers in 1979, there have not been any sufficiently comprehensive studies to generate test inputs from these graphs. However, there exist several methods for test input generation from Boolean expressions. Cause–effect graphs can be more convenient for a wide variety of users compared to Boolean expressions. Moreover, they can be used to enforce common constraints and rules on the system variables of different expressions of the system. This study proposes a new mutant-based test input generation method, Spectral Testing for Boolean specification models based on spectral analysis of Boolean expressions using mutations of the original expression. Unlike Myers’ method, Spectral Testing is an algorithmic and deterministic method, in which we model the possible faults systematically. Furthermore, the conversion of cause–effect graphs between Boolean expressions is explored so that the existing test input generation methods for Boolean expressions can be exploited for cause–effect graphing. A software is developed as an open-source extendable tool for generating test inputs from cause–effect graphs by using different methods and performing mutation analysis for quantitative evaluation on these methods for further analysis and comparison. Selected methods, MI, MAX-A, MUTP, MNFP, CUTPNFP, MUMCUT, Unique MC/DC, and Masking MC/DC are implemented together with Myers’ technique and the proposed Spectral Testing in the developed tool. For mutation testing, 9 common fault types of Boolean expressions are modeled, implemented, and generated in the tool. An XML-based standard on top of GraphML representing a cause–effect graph is proposed and is used as the input type to the approach. An empirical study is performed by a case study on 5 different systems with various requirements, including the benchmark set from the TCAS-II system. Our results show that the proposed XML-based cause–effect graph model can be used to represent system requirements. The developed tool can be used for test input generation from proposed cause–effect graph models and can perform mutation analysis to distinguish between the methods with respect to the effectiveness of test inputs and their mutant kill scores. The proposed Spectral Testing method outperforms the state-of-the-art methods in the context of critical systems, regarding both the effectiveness and mutant kill scores of the generated test inputs, and increasing the chances of revealing faults in the system and reducing the cost of testing. Moreover, the proposed method can be used as a separate or complementary method to other well-performing test input generation methods for covering specific fault types.
引用
收藏
页码:733 / 782
页数:49
相关论文
共 50 条
  • [1] Test input generation from cause-effect graphs
    Ufuktepe, Deniz Kavzak
    Ayav, Tolga
    Belli, Fevzi
    SOFTWARE QUALITY JOURNAL, 2021, 29 (04) : 733 - 782
  • [2] Test case Generation from Cause-Effect Graph based on Model Transformation
    Son, Hyun Seung
    Kim, R. Young Chul
    Park, Young B.
    2014 INTERNATIONAL CONFERENCE ON INFORMATION SCIENCE AND APPLICATIONS (ICISA), 2014,
  • [3] Bounded Exhaustive Test Input Generation from Hybrid Invariants
    Rosner, Nicolas
    Bengolea, Valeria
    Ponzio, Pablo
    Khalek, Shadi Abdul
    Aguirre, Nazareno
    Frias, Marcelo F.
    Khurshid, Sarfraz
    ACM SIGPLAN NOTICES, 2014, 49 (10) : 655 - 674
  • [4] Rule-based Test Input Generation From Bytecode
    Xu, Weifeng
    Ding, Tao
    Xu, Dianxiang
    2014 EIGHTH INTERNATIONAL CONFERENCE ON SOFTWARE SECURITY AND RELIABILITY, 2014, : 108 - 117
  • [5] Bounded exhaustive test input generation from hybrid invariants
    1600, Association for Computing Machinery, 2 Penn Plaza, Suite 701, New York, NY 10121-0701, United States (49):
  • [6] Test Input Generation for Programs with Pointers
    Vanoverberghe, Dries
    Tillmann, Nikolai
    Piessens, Frank
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PROCEEDINGS, 2009, 5505 : 277 - +
  • [7] On test generation by input cube avoidance
    Pomeranz, Irith
    Reddy, Sudhakar M.
    2007 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION, VOLS 1-3, 2007, : 522 - +
  • [8] Test Sequence Generation with Cayley Graphs
    Halle, Sylvain
    Khoury, Raphael
    2021 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW 2021), 2021, : 182 - 191
  • [9] Deriving input partitions from UML models for automatic test generation
    Weissleder, Stephan
    Schlingloff, Bernd-Holger
    MODELS IN SOFTWARE ENGINEERING, 2008, 5002 : 151 - 163
  • [10] Automated Test Case Generation from Input Specification in Natural Language
    Li, Tianyu
    Lu, Xiuwen
    Xu, Hui
    2022 IEEE INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS (ISSREW 2022), 2022, : 258 - 261