Bounded exhaustive test input generation from hybrid invariants

被引:0
|
作者
机构
[1] Rosner, Nicolás
[2] Bengolea, Valeria
[3] Ponzio, Pablo
[4] Khalek, Shadi Abdul
[5] 2,Aguirre, Nazareno
[6] Frias, Marcelo F.
[7] Khurshid, Sarfraz
来源
| 1600年 / Association for Computing Machinery, 2 Penn Plaza, Suite 701, New York, NY 10121-0701, United States卷 / 49期
关键词
Efficiency - Software testing - Alloys;
D O I
10.1145/2660193.2660232
中图分类号
学科分类号
摘要
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. Copyright © 2014 ACM.
引用
收藏
相关论文
共 50 条
  • [1] 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
  • [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