Mutta: a novel tool for E2E web mutation testing

被引:3
|
作者
Leotta, Maurizio [1 ]
Paparella, Davide [1 ]
Ricca, Filippo [1 ]
机构
[1] Univ Genoa, Dipartimento Informat Bioingn Robot & Ingn Sistemi, Genoa, Italy
关键词
Mutation testing; End-to-end web testing; Web application; Selenium WebDriver; Recheck; Assertions;
D O I
10.1007/s11219-023-09616-6
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Mutation testing is an important technique able to evaluate the bug-detection effectiveness of existing software test suites. Mutation testing tools exist for several languages, e.g., Java and JavaScript, but no solutions are available for managing the mutation testing process for entire web applications, in the context of end-to-end (E2E) web testing. In this paper, we propose Mutta, a novel tool able to automate the entire mutation testing process. Mutta mutates the various server source files of the target web application, runs the E2E test suite against the mutated web applications, and finally collects the test outcomes. To evaluate Mutta, we designed a case study using the mutated versions of the target web application with the aim of comparing the effectiveness of two different approaches to E2E web testing: (1) test cases based on classical assertions and (2) test cases relying on differential testing. In detail, Mutta has been executed on two web applications, each equipped with different test suites to compare assertions with differential testing. In this scenario, Mutta generated a large number of mutants (more than 15k overall), took into account the coverage information to consider only the mutants actually executed, deployed the mutated web app, ran the entire E2E test suites (about 87k tests runs overall), and finally, it correctly saved the test suite results. Thus, results of the case study show that Mutta can be successfully employed to automate the entire mutation testing process of E2E web test suites and, therefore, can be used in practice to evaluate the effectiveness of different test suites (e.g., based on different techniques, E2E frameworks, or composed by a different number of test scripts).
引用
收藏
页码:5 / 26
页数:22
相关论文
共 50 条
  • [21] E2E Transport API demonstration in hierarchical scenarios
    Lopez, V.
    Maor, I.
    Sethuraman, K.
    Mayoral, A.
    Ong, L.
    Szwedowski, R.
    Marques, F.
    Sharma, A.
    Bosisio, F.
    de Dios, O. Gonzalez
    Gerstel, O.
    Druesedau, F.
    Vilalta, R.
    Silva, H.
    Autenrieth, A.
    Borges, N.
    Liou, C.
    Cazzaniga, G.
    Fernandez-Palacios, J. P.
    2017 OPTICAL FIBER COMMUNICATIONS CONFERENCE AND EXHIBITION (OFC), 2017,
  • [22] Digital to the Core – E2E Optimization of Mining Operations
    Schoone, Sunny
    Fodor, Dan
    Marinho, Bernardo
    Moese-Singer, Christian
    Mining Report, 2023, 159 (01) : 96 - 101
  • [23] AI-Generated Test Scripts forWeb E2E Testing with ChatGPT and Copilot: A Preliminary Study
    Leotta, Maurizio
    Yousaf, Hafiz Zeeshan
    Ricca, Filippo
    Garcia, Boni
    PROCEEDINGS OF 2024 28TH INTERNATION CONFERENCE ON EVALUATION AND ASSESSMENT IN SOFTWARE ENGINEERING, EASE 2024, 2024, : 339 - 344
  • [24] A NOVEL PRICING-BASED RESOURCE ALLOCATION ARCHITECTURE AND IMPLEMENT FOR E2E HETEROGENEOUS NETWORKS
    Xie, Bing
    Zhou, Wenan
    Chen, Wei
    Song, Junde
    PROCEEDINGS OF 2009 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS TECHNOLOGY AND APPLICATIONS, 2009, : 851 - 855
  • [26] E2E blocking probability of IPTV and P2PTV
    Lu, Yue
    Kuipers, Fernando
    Janic, Milena
    Van Mieghem, Piet
    NETWORKING 2008: AD HOC AND SENSOR NETWORKS, WIRELESS NETWORKS, NEXT GENERATION INTERNET, PROCEEDINGS, 2008, 4982 : 445 - +
  • [27] The role of the TSN controller in E2E deterministic services provisioning
    Spadaro, Salvatore
    Agraz, Fernando
    Pages, Albert
    2024 24TH INTERNATIONAL CONFERENCE ON TRANSPARENT OPTICAL NETWORKS, ICTON 2024, 2024,
  • [28] An e2e Communication System Operating in the Electromagnetic Near Field
    Walk, Jasmin
    Edelmann, Jan-Christoph
    Ussmueller, Thomas
    2022 IEEE MTT-S INTERNATIONAL MICROWAVE BIOMEDICAL CONFERENCE (IMBIOC), 2022, : 4 - 6
  • [29] E2E: An Optimized IPsec Architecture for Secure And Fast Offload
    Migault, Daniel
    Palomares, Daniel
    Herbert, Emmanuel
    You, Wei
    Ganne, Gabriel
    Arfaoui, Ghada
    Laurent, Maryline
    2012 SEVENTH INTERNATIONAL CONFERENCE ON AVAILABILITY, RELIABILITY AND SECURITY (ARES), 2012, : 365 - 374