Test Suite Prioritization Based on Optimization Approach Using Reinforcement Learning
- Authors
- Waqar, Muhammad; Imran; Zaman, Muhammad Atif; Muzammal, Muhammad; Kim, Jungsuk
- Issue Date
- Jul-2022
- Publisher
- MDPI
- Keywords
- software testing; regression testing; test suite optimization; test suite prioritization; reinforcement learning
- Citation
- APPLIED SCIENCES-BASEL, v.12, no.13
- Journal Title
- APPLIED SCIENCES-BASEL
- Volume
- 12
- Number
- 13
- URI
- https://scholarworks.bwise.kr/gachon/handle/2020.sw.gachon/84954
- DOI
- 10.3390/app12136772
- ISSN
- 2076-3417
- Abstract
- Regression testing ensures that modified software code changes have not adversely affected existing code modules. The test suite size increases with modification to the software based on the end-user requirements. Regression testing executes the complete test suite after updates in the software. Re-execution of new test cases along with existing test cases is costly. The scientific community has proposed test suite prioritization techniques for selecting and minimizing the test suite to minimize the cost of regression testing. The test suite prioritization goal is to maximize fault detection with minimum test cases. Test suite minimization reduces the test suite size by deleting less critical test cases. In this study, we present a four-fold methodology of test suite prioritization based on reinforcement learning. First, the testers’ and users’ log datasets are prepared using the proposed interaction recording systems for the android application. Second, the proposed reinforcement learning model is used to predict the highest future reward sequence list from the data collected in the first step. Third, the proposed prioritization algorithm signifies the prioritized test suite. Lastly, the fault seeding approach is used to validate the results from software engineering experts. The proposed reinforcement learning-based test suite optimization model is evaluated through five case study applications. The performance evaluation results show that the proposed mechanism performs better than baseline approaches based on random and t-SANT approaches, proving its importance for regression testing.
- Files in This Item
- There are no files associated with this item.
- Appears in
Collections - ETC > 1. Journal Articles
![qrcode](https://api.qrserver.com/v1/create-qr-code/?size=55x55&data=https://scholarworks.bwise.kr/gachon/handle/2020.sw.gachon/84954)
Items in ScholarWorks are protected by copyright, with all rights reserved, unless otherwise indicated.