Using Machine Learning to Prioritize Automated Testing in an Agile Environment

被引:1
|
作者
Butgereit, Laurie [1 ]
机构
[1] Nelson Mandela Univ, Port Elizabeth, South Africa
关键词
machine learning; automated testing; Weka; Cyclomatic; Halstead; Chidamber-Kemere; agile;
D O I
10.1109/ictas.2019.8703639
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Automated software testing is an integral part of most Agile methodologies. In the case of the Scrum Agile methodology, the definition of done includes the completion of tests. As a software project matures, however, the number of tests increases to such a point that the time required to run all the tests often hinders the speed in which artifacts can be deployed. This paper describes a technique of using machine learning to help prioritize automated testing to ensure that tests which have a higher probability of failing are executed early in the test run giving the programmers an early indication of problems. In order to do this, various metrics are collected about the software under test including Cyclomatic values, Halstead-based values, and Chidamber-Kemere values. In addition, the historical commit messages from the source code control system is accessed to see if there had been defects in the various source classes previously. From these two inputs, a data file can be created which contains various metrics and whether or not there had been defects in these source files previously. This data file can then be sent to Weka to create a decision tree indicating which measurements indicate potential defects. The model created by Weka can then then be used in future to attempt to predict where defects might be in the source files and then prioritize testing appropriately.
引用
收藏
页数:6
相关论文
共 50 条
  • [1] Using Neural Networks to Schedule Automated Testing in an Agile Environment
    Butgereit, Laurie
    [J]. 2019 SECOND INTERNATIONAL CONFERENCE ON NEXT GENERATION COMPUTING APPLICATIONS 2019 (NEXTCOMP 2019), 2019,
  • [2] Service Oriented Architecture for Agile Automated Testing Environment
    Weir, Michael
    Kulak, Ross
    Agarwal, Ankur
    [J]. 2013 7TH ANNUAL IEEE INTERNATIONAL SYSTEMS CONFERENCE (SYSCON 2013), 2013, : 853 - 860
  • [3] Machine Learning System For Automated Testing
    Spahiu, Cosmin Stoica
    Stanescu, Liana
    Marinescu, Roxana
    Brezovan, Marius
    [J]. 2022 23RD INTERNATIONAL CARPATHIAN CONTROL CONFERENCE (ICCC), 2022, : 142 - 146
  • [4] USING MACHINE LEARNING TO PRIORITIZE RARE REPEAT EXPANSIONS FOR PATHOGENICITY
    Fazal, Sarah
    Danzi, Matt
    Zuchner, Stephan
    Aguiar-Pulido, Vanessa
    [J]. JOURNAL OF THE PERIPHERAL NERVOUS SYSTEM, 2022, 27 : S47 - S47
  • [5] Using Machine Learning in an Automated Infant Motor Screening Tool for the Natural Environment
    Fair-Field, Teresa
    Modayur, Bharath
    [J]. AMERICAN JOURNAL OF OCCUPATIONAL THERAPY, 2019, 73 (04):
  • [6] Automated detection of skin reactions in epicutaneous patch testing using machine learning
    Chan, W. H.
    Srivastava, R.
    Damaraju, N.
    Do, H.
    Burnett, G.
    MacFarlane, J.
    Xie, S. M.
    Chen, J. K.
    Honari, G.
    Sarin, K. Y.
    [J]. BRITISH JOURNAL OF DERMATOLOGY, 2021, 185 (02) : 456 - 458
  • [7] Automated Testing of Software that Uses Machine Learning APIs
    Wan, Chengcheng
    Liu, Shicheng
    Xie, Sophie
    Liu, Yifan
    Hoffmann, Henry
    Maire, Michael
    Lu, Shan
    [J]. 2022 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2022), 2022, : 212 - 224
  • [8] Machine Learning and Constraint Solving for Automated Form Testing
    Santiago, Dionny
    Phillips, Justin
    Alt, Patrick
    Muras, Brian
    King, Tariq M.
    Clarke, Peter J.
    [J]. 2019 IEEE 30TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE), 2019, : 217 - 227
  • [9] Combinatorial testing and machine learning for automated test generation
    Le Traon, Yves
    Xie, Tao
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2023, 33 (04):
  • [10] Keeper: Automated Testing and Fixing of Machine Learning Software
    Wan, Chengcheng
    Liu, Shicheng
    Xie, Sophie
    Liu, Yuhan
    Hoffmann, Henry
    Maire, Michael
    Lu, Shan
    [J]. ACM Transactions on Software Engineering and Methodology, 2024, 33 (07)