{"title":"Prioritizing software regression testing using reinforcement learning and hidden Markov model","authors":"Neelam Rawat, Vikas Somani, Arun Kr. Tripathi","doi":"10.1080/1206212x.2023.2273585","DOIUrl":null,"url":null,"abstract":"AbstractSoftware regression testing is an essential testing practice that ensures that changes made to the source code of an application do not affect its functionality and quality. Within this research, we introduce a novel method for prioritizing software test cases using a fusion of reinforcement learning and hidden Markov model to enhance the efficiency of the testing process. The primary objective of this research paper is to maximize the likelihood of selecting test cases that have the highest priority of uncovering defects in new code changes introduced into the codebase. To assess the efficacy of our suggested methodology, we experimented on the test cases of five web applications. Our results demonstrate that our proposed approach can accurately identify critical test cases while minimizing false positives, as evidenced by an F1 score of 0.849. This outcome can help prioritize testing efforts, saving time, and resources while improving the overall efficiency of the testing process.Keywords: Regression testingtest case prioritization (TCP)hidden Markov model (HMM)reinforcement learning (RL) Disclosure statementNo potential conflict of interest was reported by the author(s).Additional informationNotes on contributorsNeelam RawatMs. Neelam Rawat is a dedicated research scholar in the field of Computer Science & Engineering at Sangam University. With an extensive portfolio that includes over 15 publications, 3 patents, and 2 authored books, she is actively engaged in pioneering research. Her primary areas of expertise lie in the domains of machine learning, deep learning, software testing, software engineering, quality assurance, and management.Vikas SomaniDr. Vikas Somani (PhD, M.Tech, MCA,BCA) has more than 16 years of Teaching and Industrial Experience. Currently he is Associate Professor and Assistant Dean, School of Engineering and Technology at the Sangam University, Bhilwara. He has diversified research interests in the areas of Cloud Computing, Artificial Intelligence, Machine Learning, Block chain and Internet of Things (IoT). He is a Member of IEEE, CSI, IAENG, ACM, IRED. He has published over 35 Research Paper in International, National Journal and Conferences and attended around 50 Workshops and STP. He has also Supervised/Guided more than 20 Research Work. Currently, under his 6 research scholars are working. He has Three Patent awarded and granted/design one from Government of India Patent Office and another from Germany Patent Office. He has also published Five Patents.Arun Kr. TripathiDr. Arun Kr. Tripathi has more than 21 years of Teaching experience and completed Ph.D. in Computer Applications with specialization in Wireless Networks. Presently he is appointed as Head of Computer Applications with and an additional responsibility of Head Cyber Security and Forensic Science Division. His major research interests are Computer Network, Network Security, IoT, Machine Learning etc. with over 70 published works in reputed Journals and Conferences. He reviewed more than 35 SCI-Indexed journal articles.","PeriodicalId":39673,"journal":{"name":"International Journal of Computers and Applications","volume":"296 2","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-10-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Computers and Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1080/1206212x.2023.2273585","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"Computer Science","Score":null,"Total":0}
引用次数: 0
Abstract
AbstractSoftware regression testing is an essential testing practice that ensures that changes made to the source code of an application do not affect its functionality and quality. Within this research, we introduce a novel method for prioritizing software test cases using a fusion of reinforcement learning and hidden Markov model to enhance the efficiency of the testing process. The primary objective of this research paper is to maximize the likelihood of selecting test cases that have the highest priority of uncovering defects in new code changes introduced into the codebase. To assess the efficacy of our suggested methodology, we experimented on the test cases of five web applications. Our results demonstrate that our proposed approach can accurately identify critical test cases while minimizing false positives, as evidenced by an F1 score of 0.849. This outcome can help prioritize testing efforts, saving time, and resources while improving the overall efficiency of the testing process.Keywords: Regression testingtest case prioritization (TCP)hidden Markov model (HMM)reinforcement learning (RL) Disclosure statementNo potential conflict of interest was reported by the author(s).Additional informationNotes on contributorsNeelam RawatMs. Neelam Rawat is a dedicated research scholar in the field of Computer Science & Engineering at Sangam University. With an extensive portfolio that includes over 15 publications, 3 patents, and 2 authored books, she is actively engaged in pioneering research. Her primary areas of expertise lie in the domains of machine learning, deep learning, software testing, software engineering, quality assurance, and management.Vikas SomaniDr. Vikas Somani (PhD, M.Tech, MCA,BCA) has more than 16 years of Teaching and Industrial Experience. Currently he is Associate Professor and Assistant Dean, School of Engineering and Technology at the Sangam University, Bhilwara. He has diversified research interests in the areas of Cloud Computing, Artificial Intelligence, Machine Learning, Block chain and Internet of Things (IoT). He is a Member of IEEE, CSI, IAENG, ACM, IRED. He has published over 35 Research Paper in International, National Journal and Conferences and attended around 50 Workshops and STP. He has also Supervised/Guided more than 20 Research Work. Currently, under his 6 research scholars are working. He has Three Patent awarded and granted/design one from Government of India Patent Office and another from Germany Patent Office. He has also published Five Patents.Arun Kr. TripathiDr. Arun Kr. Tripathi has more than 21 years of Teaching experience and completed Ph.D. in Computer Applications with specialization in Wireless Networks. Presently he is appointed as Head of Computer Applications with and an additional responsibility of Head Cyber Security and Forensic Science Division. His major research interests are Computer Network, Network Security, IoT, Machine Learning etc. with over 70 published works in reputed Journals and Conferences. He reviewed more than 35 SCI-Indexed journal articles.
期刊介绍:
The International Journal of Computers and Applications (IJCA) is a unique platform for publishing novel ideas, research outcomes and fundamental advances in all aspects of Computer Science, Computer Engineering, and Computer Applications. This is a peer-reviewed international journal with a vision to provide the academic and industrial community a platform for presenting original research ideas and applications. IJCA welcomes four special types of papers in addition to the regular research papers within its scope: (a) Papers for which all results could be easily reproducible. For such papers, the authors will be asked to upload "instructions for reproduction'''', possibly with the source codes or stable URLs (from where the codes could be downloaded). (b) Papers with negative results. For such papers, the experimental setting and negative results must be presented in detail. Also, why the negative results are important for the research community must be explained clearly. The rationale behind this kind of paper is that this would help researchers choose the correct approaches to solve problems and avoid the (already worked out) failed approaches. (c) Detailed report, case study and literature review articles about innovative software / hardware, new technology, high impact computer applications and future development with sufficient background and subject coverage. (d) Special issue papers focussing on a particular theme with significant importance or papers selected from a relevant conference with sufficient improvement and new material to differentiate from the papers published in a conference proceedings.