Spectral Test Generation for Boolean Expressions

被引:0
作者
Ayav, Tolga [1 ]
机构
[1] Izmir Inst Technol, Dept Comp Engn, TR-35430 Izmir, Turkiye
关键词
Boolean expressions; formal methods; Fourier analysis; software testing;
D O I
10.1142/S021819402350033X
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
This paper presents a novel method for testing Boolean expressions. It is based on spectral, aka Fourier analysis of Boolean functions which is exploited to generate test inputs. The approach has three important contributions: (i) It generates a relatively small test suite with a high capability of fault detection, (ii) The test suite is prioritized such that expected fault detection time is shorter, (iii) It is entirely mathematical relying on a simple and straightforward formula. The proposed method is formulated and evaluations are performed on both synthetic and real expressions. It is also compared with two common test generation criteria, MC/DC and Minimal MUMCUT. Evaluations show that the test suite generated by the spectral approach is relatively small while expressing the capability of a better and quicker fault detection. The approach presented in this paper provides a useful insight into how spectral/Fourier analysis of Boolean functions can be exploited in software testing.
引用
收藏
页码:1239 / 1260
页数:22
相关论文
共 28 条
  • [1] An approach for performance requirements verification and test environments generation
    Abdeen, Waleed
    Chen, Xingru
    Unterkalmsteiner, Michael
    [J]. REQUIREMENTS ENGINEERING, 2023, 28 (01) : 117 - 144
  • [2] Prioritizing MCDC test cases by spectral analysis of Boolean functions
    Ayav, Tolga
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2017, 27 (07)
  • [3] Beizer B., 2003, SOFTWARE TESTING TEC
  • [4] Chen T. Y., 1999, Proceedings Sixth Asia Pacific Software Engineering Conference (ASPEC'99) (Cat. No.PR00509), P606, DOI 10.1109/APSEC.1999.809656
  • [5] Chilenski J.J., 2001, INVESTIGATION 3 FORM
  • [6] Chilenski J. J., 2001, DOTFAAAR0118 DTIC
  • [7] APPLICABILITY OF MODIFIED CONDITION DECISION COVERAGE TO SOFTWARE TESTING
    CHILENSKI, JJ
    MILLER, SP
    [J]. SOFTWARE ENGINEERING JOURNAL, 1994, 9 (05): : 193 - 200
  • [8] de Wolf R, 2008, THEORY COMPUT, V1, P1, DOI [10.4086/toc.gs.2008.001, DOI 10.4086/TOC.GS.2008.001]
  • [9] Test case prioritization: A family of empirical studies
    Elbaum, S
    Malishevsky, AG
    Rothermel, G
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2002, 28 (02) : 159 - 182
  • [10] Spectral testing of digital circuits
    Falkowski, BJ
    [J]. VLSI DESIGN, 2002, 14 (01) : 83 - 105