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 条
  • [21] Automated ReaxFF parametrization using machine learning
    Daksha, Chaitanya M.
    Yeon, Jejoon
    Chowdhury, Sanjib C.
    Gillespie, John W., Jr.
    [J]. COMPUTATIONAL MATERIALS SCIENCE, 2021, 187
  • [22] Automated Drug Suggestion Using Machine Learning
    Doma, Vikrant
    Singh, Sahil
    Arora, Nikita
    Ortiz, Gabriel
    Saran, Parneet Kaur
    Chavarin, Salvador
    Pirouz, Matin
    [J]. ADVANCES IN INFORMATION AND COMMUNICATION, VOL 2, 2020, 1130 : 571 - 589
  • [23] Automated Workload Management Using Machine Learning
    Deivanai, K.
    Vijayakumar, V.
    Priyanka
    [J]. DATA SCIENCE AND BIG DATA ANALYTICS, 2019, 16 : 365 - 378
  • [24] Machine Learning and Algorithms; Agile Development
    Langford, John
    Ortega, Ruben
    [J]. COMMUNICATIONS OF THE ACM, 2012, 55 (08) : 10 - 11
  • [25] Automating Root Cause Analysis via Machine Learning in Agile Software Testing Environments
    Kahles, Julen
    Torronen, Juha
    Huuhtanen, Timo
    Jung, Alexander
    [J]. 2019 IEEE 12TH CONFERENCE ON SOFTWARE TESTING, VALIDATION AND VERIFICATION (ICST 2019), 2019, : 379 - 390
  • [26] Teaching agile - Agile teaching: Creating a holistic learning environment
    Grossman, Fred
    Bergin, Joe
    DiGiorgio, Rinaldo
    [J]. AGILE 2006, Proceedings, 2006, : 421 - 422
  • [27] Techniques for Regression Testing in Agile Development Environment
    Wang, Xiao-Lin
    Zeng, Hong-Wei
    Lin, Wei-Wei
    [J]. Jisuanji Xuebao/Chinese Journal of Computers, 2019, 42 (10): : 2323 - 2338
  • [28] Hidden figures - an example of using machine learning to prioritize cervical cancer screening outreach
    Tossas, Katherine Y.
    Khan, Jenna
    Winn, Robert A.
    [J]. CANCER EPIDEMIOLOGY BIOMARKERS & PREVENTION, 2020, 29 (06)
  • [29] Jupiter: An Automated Negotiation Environment for Supporting Agents that Use Machine Learning
    Fukui, Tomoya
    Moustafa, Ahmed A.
    Ito, Takayuki
    [J]. 2018 THIRTEENTH INTERNATIONAL CONFERENCE ON KNOWLEDGE, INFORMATION AND CREATIVITY SUPPORT SYSTEMS (KICSS), 2018, : 181 - 186
  • [30] Automated Testing of Physical Security: Red Teaming Through Machine Learning
    Thornton, Chris
    Cohen, Ori
    Denzinger, Joerg
    Boyd, Jeffrey E.
    [J]. COMPUTATIONAL INTELLIGENCE, 2015, 31 (03) : 465 - 497