COST-COGNIZANT TEST CASE PRIORITIZATION FOR SOFTWARE PRODUCT LINE USING GENETIC ALGORITHM
Keywords:
Test Case Prioritization, Test Suite, Software Product Line, Genetic AlgorithmAbstract
Software Product Line (SPL) is a family of related software systems with some commonalities and variabilities concerning features and relationships. SPL tends to reduce development and maintenance costs, increase quality, and decrease time to market. Due to its unique features, most software companies are moving from single software to SPL. A feature describes the behavior and capability of SPL displayed in a Feature Model. Moreover, testing of SPL is a difficult task as compared to a single system, based on this, a test case prioritization is needed to order test cases best on its importance. In this study, a cost-cognizant test case prioritization for software product line that uses path-based testing to identify the possible execution approaches was proposed. The path was extracted from a feature model of SPL obtained from FeatureIDE. Further, a Genetic Algorithm (GA) was used to prioritized test cases based on the rate of fault detection per unit test cost. The approach was evaluated using the Average Percentage of Fault Detection per Cost (APFDc) metric across four program objects (Video Store Versions VS1, VS2, VS3, and VS4). For the result, the proposed approach achieves higher performance compared to the existing methods namely CEC, RNDP and NOP. Specifically, APFDc scores reached 94.48% for VS1, 91.84% for VS2, 90.93% for VS3, and 71.81% for VS4, confirming the effectiveness and efficiency of the method in improving fault detection while reducing testing cost.
Published
How to Cite
Issue
Section
Copyright (c) 2025 FUDMA JOURNAL OF SCIENCES

This work is licensed under a Creative Commons Attribution 4.0 International License.