Dissemin is shutting down on January 1st, 2025

Published in

World Scientific Publishing, International Journal of Software Engineering and Knowledge Engineering, 05(26), p. 733-768

DOI: 10.1142/s0218194016500248

Links

Tools

Export citation

Search in Google Scholar

Regression Test Cases Prioritization Using Clustering and Code Change Relevance

Journal article published in 2016 by Ramzi A. Haraty ORCID, Nashat Mansour, Lama Moukahal, Iman Khalil
This paper was not found in any repository, but could be made available legally by the author.
This paper was not found in any repository, but could be made available legally by the author.

Full text: Unavailable

Green circle
Preprint: archiving allowed
Green circle
Postprint: archiving allowed
Red circle
Published version: archiving forbidden
Data provided by SHERPA/RoMEO

Abstract

Regression testing is important for maintaining software quality. However, the cost of regression testing is relatively high. Test case prioritization is one way to reduce this cost. Test case prioritization techniques sort test cases for regression testing based on their importance. In this paper, we design and implement a test case prioritization method based on the location of a change. The method consists of three steps: (1) clustering test cases, (2) prioritizing the clusters with respect to the relevance of the clusters to a code change, and (3) test case prioritization within each cluster based on metrics. We propose a metric for measuring test case importance based on Requirement Complexity, Code Complexity, and Code Coverage. To evaluate our method, we apply it on a launch interceptor problem program, and measure the inclusiveness and precision for clusters of test cases with respect to code change in specific test cases. Our results show that our proposed change-based prioritization method increases the likelihood of executing more relevant test cases earlier.