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 条
  • [31] LLMs for Test Input Generation for Semantic Applications
    Rasool, Zafaryab
    Barnett, Scott
    Willie, David
    Kurniawan, Stefanus
    Balugo, Sherwin
    Thudumu, Srikanth
    Abdelrazek, Mohamed
    PROCEEDINGS 2024 IEEE/ACM 3RD INTERNATIONAL CONFERENCE ON AI ENGINEERING-SOFTWARE ENGINEERING FOR AI, CAIN 2024, 2024, : 160 - 165
  • [32] A Metric for Measuring Test Input Generation Effectiveness of Test Generation Methods for Boolean Expressions
    Ufuktepe, Deniz Kavzak
    Ufuktepe, Ekincan
    Ayav, Tolga
    2021 15TH TURKISH NATIONAL SOFTWARE ENGINEERING SYMPOSIUM (UYMS), 2021, : 8 - 13
  • [33] Dynamic test input generation for database applications
    Emmi, Michael
    Majumdar, Rupak
    Sen, Koushik
    2007 ACM International Symposium on Software Testing and Analysis, ISSTA'07, 2007, : 151 - 162
  • [34] Guiding RTL Test Generation Using Relevant Potential Invariants
    Khanna, Tania
    Hsiao, Michael
    2018 IEEE 36TH INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD), 2018, : 449 - 455
  • [35] Generation of complete test suites from mealy input/output transition systems
    Paiva, Sofia Costa
    Simao, Adenilso
    FORMAL ASPECTS OF COMPUTING, 2016, 28 (01) : 65 - 78
  • [36] A systematic mapping study on test generation from Input/Output Transition Systems
    da Costa Paiva, Sofia Larissa
    Simao, Adenilso da Silva
    PROCEEDINGS 41ST EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS SEAA 2015, 2015, : 333 - 340
  • [37] AN EFFICIENT APPROACH TO PSEUDO-EXHAUSTIVE TEST-GENERATION FOR BIST DESIGN
    CHEN, CIH
    SOBELMAN, GE
    PROCEEDINGS - IEEE INTERNATIONAL CONFERENCE ON COMPUTER DESIGN : VLSI IN COMPUTERS & PROCESSORS, 1989, : 576 - 579
  • [38] Directed Test Generation for Hybrid Systems
    Proch, Sudhi
    Mishra, Prabhat
    PROCEEDINGS OF THE FIFTEENTH INTERNATIONAL SYMPOSIUM ON QUALITY ELECTRONIC DESIGN (ISQED 2014), 2015, : 156 - +
  • [39] Inference and Test Generation Using Program Invariants in Chemical Reaction Networks
    Gerten, Michael C.
    Marsh, Alexis L.
    Lathrop, James, I
    Cohen, Myra B.
    Miner, Andrew S.
    Klinge, Titus H.
    2022 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2022), 2022, : 1193 - 1205
  • [40] A bounded incremental test generation algorithm for finite state machines
    Pap, Zoltan
    Subramaniam, Mahadevan
    Kovacs, Gabor
    Nemeth, Gabor Arpad
    TESTING OF SOFTWARE AND COMMUNICATING SYSTEMS, PROCEEDINGS, 2007, 4581 : 244 - +