Test Case Prioritization based on Neural Network Classification with Artifacts Traceability

被引:0
|
作者
Rotaru, Ioana-Claudia [1 ]
Vescan, Andreea [1 ]
机构
[1] Babes Bolyai Univ, Dept Comp Sci, M Kogalniceanu 1, Cluj Napoca, Romania
关键词
Regression Testing; Test Case Prioritization; Artifact Traceability; Behavior-Driven Development;
D O I
10.1109/ASEW60602.2023.00015
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Regression testing is an important factor in ensuring software system reliability once new changes are introduced, but maintaining complex testing suites in continuous integration environments is challenging. Test case prioritization techniques are a potential solution to this problem by computing a reordered testing suite that can provide better fault detection capabilities. However, current methods rely on manually providing artifact dependencies (requirements to code, code to test cases, test cases to faults) as input. The purpose of this paper is to minimize the gap between automatic dependency computation and test case prioritization by analyzing how Behavior-Driven Development (BDD) practices affect the two tasks. Thus, the first contribution of this paper is related to the design and implementation of an automatic traceability component to retrieve dependencies based on BDD artifacts (requirements, source code, test cases, and faults). The second contribution refers to the integration of the discovered traces as features in a neural network classification model for test cases for further prioritization. Various architectures were used for the neural network classification model. Two real-world BDD projects were used for the validation of the models, comparing the best-performing models with a baseline test case prioritization technique to assess their fault-detection capabilities. Our approach achieved promising fault detection rates that demonstrate the efficiency of automatic traceability and may lead to future applicability to large-scale projects.
引用
收藏
页码:78 / 87
页数:10
相关论文
共 50 条
  • [1] Neural Network Based Test Case Prioritization in Software Engineering
    Thakur, Akshit
    Sharma, Gitika
    [J]. ADVANCED INFORMATICS FOR COMPUTING RESEARCH, PT II, 2019, 956 : 334 - 345
  • [2] Neural Network-based Test Case Prioritization in Continuous Integration
    Vescan, Andreea
    Gaceanu, Radu
    Szederjesi-Dragomir, Arnold
    [J]. 2023 38TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING WORKSHOPS, ASEW, 2023, : 68 - 77
  • [3] Version specific test case prioritization approach based on artificial neural network
    Jahan, Hosney
    Feng, Ziliang
    Mahmud, S. M. Hasan
    Dong, Penglin
    [J]. JOURNAL OF INTELLIGENT & FUZZY SYSTEMS, 2019, 36 (06) : 6181 - 6194
  • [4] Maintainability-based Requirements Prioritization by using Artifacts Traceability and Code Metrics
    Asghar, M. Waseem
    Marchetto, Alessandro
    Susi, Angelo
    Scanniello, Giuseppe
    [J]. PROCEEDINGS OF THE 17TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR 2013), 2013, : 417 - 420
  • [5] A Clustering - Bayesian Network Based Approach for Test Case Prioritization
    Zhao, Xiaobin
    Wang, Zan
    Fan, Xiangyu
    Wang, Zhenhua
    [J]. IEEE 39TH ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE WORKSHOPS (COMPSAC 2015), VOL 3, 2015, : 542 - 547
  • [6] Regression test case prioritization based on bug propagation network
    [J]. Li, Bing (bingli@whu.edu.cn), 1600, Science Press (53):
  • [7] Classification Model for Test Case Prioritization Techniques
    Sujata
    Purohit, G. N.
    [J]. 2017 IEEE INTERNATIONAL CONFERENCE ON COMPUTING, COMMUNICATION AND AUTOMATION (ICCCA), 2017, : 919 - 924
  • [8] ActGraph: prioritization of test cases based on deep neural network activation graph
    Chen, Jinyin
    Ge, Jie
    Zheng, Haibin
    [J]. AUTOMATED SOFTWARE ENGINEERING, 2023, 30 (02)
  • [9] ActGraph: prioritization of test cases based on deep neural network activation graph
    Jinyin Chen
    Jie Ge
    Haibin Zheng
    [J]. Automated Software Engineering, 2023, 30
  • [10] Test case minimization and prioritization for regression testing using SBLA-based adaboost convolutional neural network
    Lilly Raamesh
    S. Jothi
    S. Radhika
    [J]. The Journal of Supercomputing, 2022, 78 : 18379 - 18403