On introducing automatic test case generation in practice: A success story and lessons learned

被引:10
作者
Brunetto, Matteo [1 ]
Denaro, Giovanni [1 ]
Mariani, Leonardo [1 ]
Pezze, Mauro [2 ,3 ]
机构
[1] Univ Milano Bicocca, Milan, Italy
[2] USI Univ Svizzera Italiana, Lugano, Switzerland
[3] SIT Schaffhausen Inst Technol, Schaffhausen, Switzerland
基金
欧洲研究理事会; 欧盟地平线“2020”;
关键词
Software testing; Automatic system testing; GUI testing; Automatic test generation; Search based testing; ABT; GUI; MODEL;
D O I
10.1016/j.jss.2021.110933
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The level and quality of automation dramatically affects software testing activities, determines costs and effectiveness of the testing process, and largely impacts on the quality of the final product. While costs and benefits of automating many testing activities in industrial practice (including managing the quality process, executing large test suites, and managing regression test suites) are well understood and documented, the benefits and obstacles of automatically generating system test suites in industrial practice are not well reported yet, despite the recent progresses of automated test case generation tools. Proprietary tools for automatically generating test cases are becoming common practice in large software organizations, and commercial tools are becoming available for some application domains and testing levels. However, generating system test cases in small and medium-size software companies is still largely a manual, inefficient and ad-hoc activity. This paper reports our experience in introducing techniques for automatically generating system test suites in a medium-size company. We describe the technical and organizational obstacles that we faced when introducing automatic test case generation in the development process of the company, and present the solutions that we successfully experienced in that context. In particular, the paper discusses the problems of automating the generation of test cases by referring to a customized ERP application that the medium-size company developed for a third party multinational company, and presents ABT(2.0), the test case generator that we developed by tailoring ABT, a research state-of-the-art GUI test generator, to their industrial environment. This paper presents the new features of ABT(2.0), and discusses how these new features address the issues that we faced. (C) 2021 Elsevier Inc. All rights reserved.
引用
收藏
页数:17
相关论文
共 57 条
  • [1] An Industrial Evaluation of Unit Test Generation: Finding Real Faults in a Financial Application
    Almasi, M. Moein
    Hemmati, Hadi
    Fraser, Gordon
    Arcuri, Andrea
    Benefelds, Janis
    [J]. 2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING IN PRACTICE TRACK (ICSE-SEIP 2017), 2017, : 263 - 272
  • [2] [Anonymous], 2005, P ABSTR STAT MACH 20
  • [3] [Anonymous], 1989, The Z Notation: A Reference Manual
  • [4] RESTful API Automated Test Case Generation with EvoMaster
    Arcuri, Andrea
    [J]. ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2019, 28 (01)
  • [5] Arlt S., 2012, Proceedings of the 2012 IEEE 23rd International Symposium on Software Reliability Engineering (ISSRE), P301, DOI 10.1109/ISSRE.2012.25
  • [6] Comparing model-based and dynamic event-extraction based GUI testing techniques: An empirical study
    Bae, Gigon
    Rothermel, Gregg
    Bae, Doo-Hwan
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2014, 97 : 15 - 46
  • [7] Bidirectional Symbolic Analysis for Effective Branch Testing
    Baluda, Mauro
    Denaro, Giovanni
    Pezze, Mauro
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2016, 42 (05) : 403 - 426
  • [8] Graphical user interface (GUI) testing: Systematic mapping and repository
    Banerjee, Ishan
    Nguyen, Bao
    Garousi, Vahid
    Memon, Atif
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2013, 55 (10) : 1679 - 1694
  • [9] The Oracle Problem in Software Testing: A Survey
    Barr, Earl T.
    Harman, Mark
    McMinn, Phil
    Shahbaz, Muzammil
    Yoo, Shin
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2015, 41 (05) : 507 - 525
  • [10] Translating Code Comments to Procedure Specifications
    Blasi, Arianna
    Goffi, Alberto
    Kuznetsov, Konstantin
    Gorla, Alessandra
    Ernst, Michael D.
    Pezze, Mauro
    Delgado Castellanos, Sergio
    [J]. ISSTA'18: PROCEEDINGS OF THE 27TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, 2018, : 242 - 253