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 条
  • [21] Deriving input partitions from UML models for automatic test generation
    Weissleder, Stephan
    Schlingloff, Bernd-Holger
    MODELS IN SOFTWARE ENGINEERING, 2008, 5002 : 151 - 163
  • [22] Automated Test Case Generation from Input Specification in Natural Language
    Li, Tianyu
    Lu, Xiuwen
    Xu, Hui
    2022 IEEE INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS (ISSREW 2022), 2022, : 258 - 261
  • [24] Generation of an exhaustive test for finite-memory automata .1.
    Aksenova, GA
    Khalchev, VF
    AUTOMATION AND REMOTE CONTROL, 1997, 58 (04) : 695 - 704
  • [25] Generation of an exhaustive test for finite-memory automata. II
    Aksenova, GA
    Khalchev, VF
    AUTOMATION AND REMOTE CONTROL, 1997, 58 (05) : 829 - 837
  • [26] Generation of the Exhaustive Test for Finite-Memory Automata. II
    Aksenova, G. A.
    Khalchev, V. F.
    Automation and Remote Control (English translation of Avtomatika i Telemekhanika), 58 (02):
  • [27] A scheme for pseudo-exhaustive test generation in the repairable programmable arrays
    Goel, AK
    Misra, N
    1996 CANADIAN CONFERENCE ON ELECTRICAL AND COMPUTER ENGINEERING - CONFERENCE PROCEEDINGS, VOLS I AND II: THEME - GLIMPSE INTO THE 21ST CENTURY, 1996, : 174 - 177
  • [28] Hybrid Test Data Generation
    Liu, Zicong
    Chen, Zhenyu
    Fang, Chunrong
    Shi, Qingkai
    36TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE COMPANION 2014), 2014, : 630 - 631
  • [29] Random Test Generation With Input Cube Avoidance
    Pomeranz, Irith
    Reddy, Sudhakar A.
    IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2009, 17 (01) : 45 - 54
  • [30] Dynamic test input generation for web applications
    Wassermann, Gary
    Yu, Dachuan
    Chander, Ajay
    Dhurjati, Dinakar
    Inamura, Hiroshi
    Su, Zhendong
    ISSTA'08: Proceedings of the 2008 International Symposium on Software Testing and Analysis 2008, 2008, : 249 - 259