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 条
  • [1] Automated generation of oracled test cases with regular expressions and combinatorial techniques
    Polo, Macario
    Pedreira, Oscar
    S. Places, Angeles
    Garcia Rodriguez de Guzman, Ignacio
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2020, 32 (12)
  • [2] GENERATION OF REGULAR EXPRESSIONS FOR AUTOMATA BY INTEGRAL OF REGULAR EXPRESSIONS
    SMITH, LW
    YAU, SS
    COMPUTER JOURNAL, 1972, 15 (03): : 222 - &
  • [3] Fault-based test generation for regular expressions by mutation
    Arcaini, Paolo
    Gargantini, Angelo
    Riccobene, Elvinia
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2019, 29 (1-2):
  • [4] On-line test vector generation from temporal regular expressions
    Oddos, Yann
    Morin-Allory, Katell
    Borrione, Dominique
    6TH INTERNATIONAL WORKSHOP ON SYSTEM-ON-CHIP FOR REAL-TIME APPLICATIONS, PROCEEDINGS, 2006, : 135 - +
  • [5] Reggae: Automated Test Generation for Programs using Complex Regular Expressions
    Li, Nuo
    Xie, Tao
    Tillmann, Nikolai
    de Halleux, Jonathan
    Schulte, Wolfram
    2009 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2009, : 515 - 519
  • [6] Test Case Generation for Boolean Expressions by Cell Covering
    Yu, Lian
    Tsai, Wei-Tek
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2018, 44 (01) : 70 - 99
  • [7] String Generation for Testing Regular Expressions
    Zheng, Lixiao
    Ma, Shuai
    Wang, Yuanyang
    Lin, Gang
    COMPUTER JOURNAL, 2020, 63 (01): : 41 - 65
  • [8] Mutation-based Generation Algorithm of Negative Test Strings from Regular Expressions
    Zheng L.-X.
    Yu L.-L.
    Chen H.-M.
    Chen Z.-X.
    Luo X.-Y.
    Wang X.-Y.
    Ruan Jian Xue Bao/Journal of Software, 2024, 35 (07): : 3355 - 3376
  • [9] Random Test Generation from Regular Expressions for Graphical User Interface (GUI) Testing
    Kilincceker, Onur
    Silistre, Alper
    Challenger, Moharram
    Belli, Fevzi
    2019 COMPANION OF THE 19TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS-C 2019), 2019, : 170 - 176
  • [10] Application of an Improved Combinatorial Test Strategy in Test Case Generation for Aviation Software
    Qiu, Xiaohan
    Jing, Hua
    Zhang, Wei
    PROCEEDINGS OF THE 6TH INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY: IOT AND SMART CITY (ICIT 2018), 2018, : 65 - 69