Automatic Generation of Test Cases from Formal Specifications using Mutation Testing

被引:0
|
作者
Jaramillo Cajica, Roman [1 ]
Gonzalez Torres, Raul Ernesto [1 ]
Mejia Alvarez, Pedro [1 ]
机构
[1] CINVESTAV, Comp Sci, Unidad Guadalajara, Guadalajara, Jalisco, Mexico
关键词
Software testing; formal specifications; mutation testing; particle swarm optimization; test case generation;
D O I
10.1109/CCE53527.2021.9633118
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Testing of complex software systems often needs the execution of thousand of tests cases to find errors in the code and to ensure high integrity systems. Hence, it requires the testing tasks to be automated. Test case execution entails establishing preconditions and input data, observing output results, and comparing those results with a given oracle. This work presents two contributions: it uses a Particle Swarm Optimization (PSO) algorithm as a test case generator and also uses mutation testing on formal specifications using SOFL. Using mutation testing on formal specifications allows to find new test cases that would kill more mutants, resulting in a test suite potentially capable of finding more errors. The PSO algorithm is applied to generate the values of the input (test case). Software examples are used in this work to show the high efficiency of our testing framework.
引用
收藏
页数:6
相关论文
共 50 条
  • [1] AUTOMATIC-GENERATION OF TEST SCRIPTS FROM FORMAL TEST SPECIFICATIONS
    BALCER, MJ
    HASLING, WM
    OSTRAND, TJ
    [J]. PROCEEDINGS OF THE ACM SIGSOFT 89: THIRD SYMPOSIUM ON SOFTWARE TESTING, ANALYSIS, AND VERIFICATION ( TAV 3 ), 1989, 14 : 210 - 218
  • [2] Automatic Test Cases Generation from Software Specifications
    Alhroob, Aysh
    Dahal, Keshav
    Hossain, Alamgir
    [J]. E-INFORMATICA SOFTWARE ENGINEERING JOURNAL, 2010, 4 (01) : 109 - 121
  • [3] Automatic testing from formal specifications
    Satpathy, Manoranjan
    Butler, Michael
    Leuschel, Michael
    Ramesh, S.
    [J]. TESTS AND PROOFS, 2007, 4454 : 95 - +
  • [4] Automatic generation of test cases from Boolean specifications using the MUMCUT strategy
    Yu, Yuen Tak
    Lau, Man Fai
    Chen, Tsong Yueh
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2006, 79 (06) : 820 - 840
  • [5] Automatic test cases generation from formal contracts
    Gil, Samuel Jimenez
    Capel, Manuel I.
    Olea, Gabriel
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2024, 172
  • [6] Automatic Test Case and Test Oracle Generation Based on Functional Scenarios in Formal Specifications for Conformance Testing
    Liu, Shaoying
    Nakajima, Shin
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2022, 48 (02) : 691 - 712
  • [7] Automatic Transformation from Formal Specifications to Functional Scenario Forms for Automatic Test Case Generation
    Liu, Shaoying
    Hayashi, Toshinori
    Takahashi, Kazuhiro
    Kimura, Koichiro
    Nakayama, Toshihiro
    Nakajima, Shin
    [J]. NEW TRENDS IN SOFTWARE METHODOLOGIES, TOOLS AND TECHNIQUES, 2010, 217 : 383 - 397
  • [8] Automatic Test Cases Generation for Statechart Specifications from Semantics to Algorithm
    Chen, Lina
    [J]. JOURNAL OF COMPUTERS, 2011, 6 (04) : 769 - 775
  • [9] Test generation games from formal specifications
    Banerjee, Ansuman
    Pal, Bhaskar
    Das, Sayantan
    Kumar, Abhijeet
    Dasgupta, Pallab
    [J]. 43RD DESIGN AUTOMATION CONFERENCE, PROCEEDINGS 2006, 2006, : 827 - +
  • [10] From the formal specifications of users tasks to the automatic generation of the HCI specifications
    Mahfoudhi, A
    Abed, M
    Tabary, D
    [J]. PEOPLE AND COMPUTERS XV - INTERACTION WITHOUT FRONTIERS, 2001, : 331 - 347