Test case generation with regular expressions and combinatorial techniques

被引:4
|
作者
Polo Usaola, Macario [1 ]
Ruiz Romero, Francisco [1 ]
Rodriguez-Bobada Aranda, Rosana [1 ]
Garcia Rodriguez, Ignacio [1 ]
机构
[1] Univ Castilla La Mancha, Dept Informat Syst & Technol, Ciudad Real, Spain
关键词
Software testing; Test case generation; Oracles; Regular expressions;
D O I
10.1109/ICSTW.2017.38
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
A test case describes a specific execution scenario of the system under test (SUT). Its goal is to discover errors by means of its oracle, that emits a pass or fail verdict depending on the SUT behavior. The test case has a sequence of calls to SUT's operations with specific test data, which may come from the application of a combinatorial algorithm. This paper describes a method to describe generic test scenarios by means of regular expressions, whose symbols point to a SUT operation. The tester assigns values to each operation's parameter. A further step expands the regular expression and produces a set of operation sequences, which are then passed to a combinatorial algorithm to generate actual test cases. Regular expressions are annotated with a set of when clauses, that are processed by the combinatorial algorithm to include the oracle in the generated test cases.
引用
收藏
页码:189 / 198
页数:10
相关论文
共 50 条
  • [11] Greedy Combinatorial Test Case Generation using Unsatisfiable Cores
    Yamada, Akihisa
    Biere, Armin
    Artho, Cyrille
    Kitamura, Takashi
    Choi, Eun-Hye
    2016 31ST IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2016, : 614 - 624
  • [12] Adaptive Random Test Case Generation for Combinatorial Testing.
    Huang, Rubing
    Xie, Xiaodong
    Chen, Tsong Yueh
    Lu, Yansheng
    2012 IEEE 36TH ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), 2012, : 52 - 61
  • [13] Metaheuristic Techniques for Test Case Generation: A Review
    Sahoo, Rashmi Rekha
    Ray, Mitrabinda
    JOURNAL OF INFORMATION TECHNOLOGY RESEARCH, 2018, 11 (01) : 158 - 171
  • [14] Generating Evil Test Strings for Regular Expressions
    Larson, Eric
    Kirk, Anna
    2016 9TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2016, : 309 - 319
  • [15] Combinatorial interaction regression testing: A study of test case generation and prioritization
    Qu, Xiao
    Cohen, Myra B.
    Woolf, Katherine M.
    2007 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, 2007, : 405 - 414
  • [16] Software Test Case Generation Tools and Techniques: A Review
    Verma, Abhishek Singh
    Choudhary, Ankur
    Tiwari, Shailesh
    INTERNATIONAL JOURNAL OF MATHEMATICAL ENGINEERING AND MANAGEMENT SCIENCES, 2023, 8 (02) : 293 - 315
  • [17] Enhanced Automatic Feedback Generation for the Learning of Regular Expressions
    Okuboyejo, Olaperi Yeside
    PROCEEDINGS OF THE ANNUAL CONFERENCE OF THE SOUTH AFRICAN INSTITUTE OF COMPUTER SCIENTISTS AND INFORMATION TECHNOLOGISTS (SAICSIT 2018), 2018, : 330 - 330
  • [18] ACTS: A Combinatorial Test Generation Tool
    Yu, Linbin
    Lei, Yu
    Kacker, Raghu N.
    Kuhn, D. Richard
    2013 IEEE SIXTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST 2013), 2013, : 370 - 375
  • [19] Spectral Test Generation for Boolean Expressions
    Ayav, Tolga
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2023, 33 (08) : 1239 - 1260
  • [20] Test Oracles and Test Script Generation in Combinatorial Testing
    Kruse, Peter M.
    2016 IEEE NINTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2016, : 75 - 82