Bounded Exhaustive Test Input Generation from Hybrid Invariants

被引:0
|
作者
Rosner, Nicolas [1 ]
Bengolea, Valeria [2 ]
Ponzio, Pablo [2 ]
Khalek, Shadi Abdul [3 ]
Aguirre, Nazareno [2 ,4 ]
Frias, Marcelo F. [5 ,6 ]
Khurshid, Sarfraz [7 ]
机构
[1] Univ Buenos Aires, FCEyN, Dept Comp Sci, Buenos Aires, DF, Argentina
[2] Univ Rio Cuarto, FCEFQyN, Dept Comp Sci, Rio Cuarto, Argentina
[3] Google, Mountain View, CA USA
[4] Consejo Nacl Invest Cient & Tecn, Rio Cuarto, Argentina
[5] Inst Tecnol Buenos Aires, Dept Software Engn, Buenos Aires, DF, Argentina
[6] Consejo Nacl Invest Cient & Tecn, RA-1033 Buenos Aires, DF, Argentina
[7] Univ Texas Austin, Austin, TX 78712 USA
基金
美国国家科学基金会;
关键词
automated test generation; bounded exhaustive testing; SAT solving; Korat; Alloy; transcoping;
D O I
10.1145/2714064.2660232
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present a novel technique for producing bounded exhaustive test suites from hybrid invariants, i.e., invariants that are expressed imperatively, declaratively, or as a combination of declarative and imperative predicates. Hybrid specifications are processed using known mechanisms for the imperative and declarative parts, but combined in a way that enables us to exploit information from the declarative side, such as tight bounds computed from the declarative specification, to improve the search both on the imperative and declarative sides. Moreover, our technique automatically evaluates different possible ways of processing the imperative side, and the alternative settings (imperative or declarative) for parts of the invariant available both declaratively and imperatively, to decide the most convenient invariant configuration with respect to efficiency in test generation. This is achieved by transcoping, i.e., by assessing the efficiency of the different alternatives on small scopes (where generation times are negligible), and then extrapolating the results to larger scopes. We also show experiments involving collection classes that support the effectiveness of our technique, by demonstrating that (i) bounded exhaustive suites can be computed from hybrid invariants significantly more efficiently than doing so using state-of-the-art purely imperative and purely declarative approaches, and (ii) our technique is able to automatically determine efficient hybrid invariants, in the sense that they lead to an efficient computation of bounded exhaustive suites, using transcoping.
引用
收藏
页码:655 / 674
页数:20
相关论文
共 50 条
  • [1] 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):
  • [2] Efficient Bounded Exhaustive Input Generation from Program APIs
    Politano, Mariano
    Bengolea, Valeria
    Molina, Facundo
    Aguirre, Nazareno
    Frias, Marcelo F.
    Ponzio, Pablo
    FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, FASE 2023, 2023, 13991 : 111 - 132
  • [3] BEAPI: A tool for bounded exhaustive input generation from APIs
    Politano, Mariano
    Bengolea, Valeria
    Molina, Facundo
    Aguirre, Nazareno
    Frias, Marcelo
    Ponzio, Pablo
    SCIENCE OF COMPUTER PROGRAMMING, 2024, 238
  • [4] Incorporating Coverage Criteria in Bounded Exhaustive Black Box Test Generation of Structural Inputs
    Aguirre, Nazareno M.
    Bengolea, Valeria S.
    Frias, Marcelo F.
    Galeotti, Juan P.
    TESTS AND PROOFS, TAP 2011, 2011, 6706 : 15 - 32
  • [5] Hybrid input-output conformance and test generation
    van Osch, Michiel
    Formal Approaches to Software Testing and Runtime Verification, 2006, 4262 : 70 - 84
  • [6] Poster: Efficient Iterative Deepening for Bounded Exhaustive Generation of Complex Structures
    Rauf, Affan
    Nawaz, Muhammad
    Siddiqui, Junaid Haroon
    PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING - COMPANION (ICSE-COMPANION, 2018, : 346 - 347
  • [7] Test input generation from cause–effect graphs
    Deniz Kavzak Ufuktepe
    Tolga Ayav
    Fevzi Belli
    Software Quality Journal, 2021, 29 : 733 - 782
  • [8] TEST GENERATION FROM BOUNDED ALGEBRAIC SPECIFICATIONS USING ALLOY
    de Andrade, Francisco Rebello
    Faria, Joao Pascoal
    Paiva, Ana C. R.
    ICSOFT 2011: PROCEEDINGS OF THE 6TH INTERNATIONAL CONFERENCE ON SOFTWARE AND DATABASE TECHNOLOGIES, VOL 2, 2011, : 192 - 200
  • [9] A METHOD FOR PSEUDO-EXHAUSTIVE TEST PATTERN GENERATION
    KAGARIS, D
    MAKEDON, F
    TRAGOUDAS, S
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 1994, 13 (09) : 1170 - 1178
  • [10] EXHAUSTIVE TEST PATTERN GENERATION USING CYCLIC CODES
    CHEN, CL
    IEEE TRANSACTIONS ON COMPUTERS, 1988, 37 (02) : 225 - 228