Open Access Open Access  Restricted Access Subscription Access

An Ant Colony Algorithm to Prioritize the Regression Test Cases of Object-Oriented Programs


Affiliations
1 SOA University, Near PNB Bank Jagmohan Nagar, Khandagiri, Bhubaneswar - 751030, Odisha, India
2 Department of Computer Science & Engineering, GMRIT, GMR Nagar, Srikakulam District, Razam - 532127, Andhra Pradesh, India
 

Background/Objectives: The limited resources force to choose an effective prioritization technique, which makes an ordering of the test case so that the most suitable test case will execute first. Methods/Statistical Analysis: Regression test case prioritization using Ant colony optimization for the object-oriented program is proposed in this paper. Using the previous version test pool a complete graph is generated. The node of the graph represents test case and their fault exposing potential is used by the ant to select a prioritization sequence. Findings: The effectiveness of the test case ordering is measured using APFD (Average percentage of Faults Detected). Experiments on three object oriented subject programs are performed to judge the said approach. The empirical results indicate that the algorithm implemented using ant colony optimization gives higher APFD value than the random techniques. Applications/Improvements: This technique may be used by the quality assurance team for prioritizing test case as it space and time complexity is less as compared to random ordering.

Keywords

Test Case Prioritization, Regression Testing, Ant Colony Optimization, APFD, Software Testing.
User

Abstract Views: 219

PDF Views: 0




  • An Ant Colony Algorithm to Prioritize the Regression Test Cases of Object-Oriented Programs

Abstract Views: 219  |  PDF Views: 0

Authors

Mohapatra Sudhir Kumar
SOA University, Near PNB Bank Jagmohan Nagar, Khandagiri, Bhubaneswar - 751030, Odisha, India
Prasad Srinivas
Department of Computer Science & Engineering, GMRIT, GMR Nagar, Srikakulam District, Razam - 532127, Andhra Pradesh, India

Abstract


Background/Objectives: The limited resources force to choose an effective prioritization technique, which makes an ordering of the test case so that the most suitable test case will execute first. Methods/Statistical Analysis: Regression test case prioritization using Ant colony optimization for the object-oriented program is proposed in this paper. Using the previous version test pool a complete graph is generated. The node of the graph represents test case and their fault exposing potential is used by the ant to select a prioritization sequence. Findings: The effectiveness of the test case ordering is measured using APFD (Average percentage of Faults Detected). Experiments on three object oriented subject programs are performed to judge the said approach. The empirical results indicate that the algorithm implemented using ant colony optimization gives higher APFD value than the random techniques. Applications/Improvements: This technique may be used by the quality assurance team for prioritizing test case as it space and time complexity is less as compared to random ordering.

Keywords


Test Case Prioritization, Regression Testing, Ant Colony Optimization, APFD, Software Testing.



DOI: https://doi.org/10.17485/ijst%2F2016%2Fv9i19%2F132983