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 条
  • [41] Natural Language Generation from Graphs
    Dong, Ngan T.
    Holder, Lawrence B.
    INTERNATIONAL JOURNAL OF SEMANTIC COMPUTING, 2014, 8 (03) : 335 - 384
  • [42] Image Generation from Scene Graphs
    Johnson, Justin
    Gupta, Agrim
    Li Fei-Fei
    2018 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2018, : 1219 - 1228
  • [43] Sentence generation from conceptual graphs
    Nicolov, N
    Mellish, C
    Ritchie, G
    CONCEPTUAL STRUCTURES: APPLICATIONS, IMPLEMENTATION AND THEORY, 1995, 954 : 74 - 88
  • [44] On the effect of scheduling in test generation
    Inoue, T
    Maeda, H
    Fujiwara, H
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 1996, E79D (08) : 1190 - 1197
  • [45] Generation of Single Input Change Test Sequences for Conformance Test of Programmable Logic Controllers
    Provost, Julien
    Roussel, Jean-Marc
    Faure, Jean-Marc
    IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, 2014, 10 (03) : 1696 - 1704
  • [46] JUDGING INTEREVENT RELATIONS - FROM CAUSE TO EFFECT AND FROM EFFECT TO CAUSE
    VANHAMME, LJ
    KAO, SF
    WASSERMAN, EA
    MEMORY & COGNITION, 1993, 21 (06) : 802 - 808
  • [47] Attribute dependency graphs: modelling cause and effect in systems design
    Roetzer, Sebastian
    Schweigert-Recksiek, Sebastian
    Thoma, Dominik
    Zimmermann, Markus
    DESIGN SCIENCE, 2022, 8
  • [48] FUNCTIONAL TESTING OF SOFTWARE USING CAUSE-EFFECT GRAPHS
    ELMENDORF, WR
    IEEE TRANSACTIONS ON AEROSPACE AND ELECTRONIC SYSTEMS, 1976, 12 (02) : 305 - 305
  • [49] Optimizing Test Input Generation for Reactive Systems with an Adaptive Differential Evolution
    Szenkovits, Annamaria
    Gasko, Noemi
    Jakab, Hunor
    PROCEEDINGS OF 2016 18TH INTERNATIONAL SYMPOSIUM ON SYMBOLIC AND NUMERIC ALGORITHMS FOR SCIENTIFIC COMPUTING (SYNASC), 2016, : 214 - 218
  • [50] Automatic Mutation Test Input Data Generation via Ant Colony
    Ayari, K.
    Bouktif, S.
    Antoniol, G.
    GECCO 2007: GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE, VOL 1 AND 2, 2007, : 1074 - 1081