Selecting Test Cases based on Similarity of Runtime Information: A Case Study of an Industrial Simulator

被引:0
|
作者
Shimari, Kazumasa [1 ]
Tanaka, Masahiro [2 ]
Ishio, Takashi [1 ]
Matsushita, Makoto [2 ]
Inoue, Katsuro [3 ]
Takanezawa, Satoru [4 ]
机构
[1] Nara Inst Sci & Technol, Grad Sch Sci & Technol, Nara, Japan
[2] Osaka Univ, Grad Sch Informat Sci & Technol, Osaka, Japan
[3] Nanzan Univ, Fac Sci & Technol, Nagoya, Aichi, Japan
[4] Daikin Ind Ltd, Osaka, Japan
关键词
Test Selection; Dynamic Analysis; Software Dependency; Clustering;
D O I
10.1109/ICSME55016.2022.00077
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Regression testing is required to check the changes in behavior whenever developers make any changes to a software system. The cost of regression testing is a major problem because developers have to frequently update dependent components to minimize security risks and potential bugs. In this paper, we report a current practice in a company that maintains an industrial simulator as a critical component of their business. The simulator automatically records all the users' requests and the simulation results in storage. The feature provides a huge number of test cases for regression testing to developers; however, their time budget for testing is limited (i.e., at most one night). Hence, the developers need to select a small number of test cases to confirm both the simulation result and execution performance are unaffected by an update of a dependent component. In other words, the test cases should achieve high coverage while keeping diversity of execution time. To solve the problem, we have developed a clustering-based method to select test cases, using the similarity of execution traces produced by them. The developers have used the method for a half year; they recognize that the method is better than the previous rule-based method used in the company.
引用
收藏
页码:564 / 567
页数:4
相关论文
共 50 条
  • [1] An Industrial Case Study on Test Cases as Requirements
    Bjarnason, Elizabeth
    Unterkalmsteiner, Michael
    Engstrom, Emelie
    Borg, Markus
    AGILE PROCESSES, IN SOFTWARE ENGINEERING, AND EXTREME PROGRAMMING, XP 2015, 2015, 212 : 27 - 39
  • [2] HSP: A hybrid selection and prioritisation of regression test cases based on information retrieval and code coverage applied on an industrial case study
    Magalhaes, Claudio
    Andrade, Joao
    Perrusi, Lucas
    Mota, Alexandre
    Barros, Flavia
    Maia, Eliot
    JOURNAL OF SYSTEMS AND SOFTWARE, 2020, 159
  • [3] An industrial investigation of similarity measures for model-based test case selection
    Simula Research Laboratory, Department of Informatics, University of Oslo, Norway
    Proc. Int. Symp. Softw. Reliab. Eng., (141-150):
  • [4] Coverage-Based Test Case Prioritisation: An Industrial Case Study
    Di Nardo, Daniel
    Alshahwan, Nadia
    Briand, Lionel
    Labiche, Yvan
    2013 IEEE SIXTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST 2013), 2013, : 302 - 311
  • [5] From use cases to objects: An industrial information systems case study analysis
    Fernandes, JM
    Machado, RJ
    OOIS 2001: 7TH INTERNATIONAL CONFERENCE ON OBJECT-ORIENTED INFORMATION SYSTEMS, PROCEEDINGS, 2001, : 319 - 328
  • [6] Use-based criteria for selecting and retaining electronic information: A case study
    Townley, CT
    Murray, L
    INFORMATION TECHNOLOGY AND LIBRARIES, 1999, 18 (01) : 32 - 39
  • [7] A study on a path-based strategy for selecting black-box generated test cases
    Yu, YT
    Tang, SF
    Poon, PL
    Chen, TY
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2001, 11 (02) : 113 - 138
  • [8] Predicting Patch Correctness Based on the Similarity of Failing Test Cases
    Tian, Haoye
    Li, Yinghua
    Pian, Weiguo
    Kabore, Abdoul Kader
    Liu, Kui
    Habib, Andrew
    Klein, Jacques
    Bissyande, Tegawende F.
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2022, 31 (04)
  • [9] An Industrial Study of Natural Language Processing Based Test case Prioritization
    Yang, Yilin
    Huang, Xinhai
    Hao, Xuefei
    Liu, Zicong
    Chen, Zhenyu
    2017 10TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2017, : 548 - 549
  • [10] An approach to case-based maintenance: Selecting representative cases
    Tsang, ECC
    Wang, XZ
    INTERNATIONAL JOURNAL OF PATTERN RECOGNITION AND ARTIFICIAL INTELLIGENCE, 2005, 19 (01) : 79 - 89