Abstract

Objectives: To make comparative performance evaluation of “BA-TPF” technique for regression test case optimization on “Online Shopping”, “Order Management”, “ATM System” and “Telephone System”. Methods: “BA-TPF” focuses on generation of optimized test sequences using bat algorithm and then producing the optimized and prioritized test suite by calculating the prioritized test suite possessing the highest path fitness. This study carries out the comparative evaluation of the recently proposed “BA-TPF” technique for optimized test sequence generation and prioritization. Three metrics namely TCP (“Test Suite Percentage required for Complete Path Coverage”), PRT (“Percentage of Repeated Transitions”) and APPC (“Average Percentage of Path Covered”) have been used for performance measurement of the proposed technique. Findings: The proposed technique “BA-TPF” demonstrates its competence on all the three parameters. It could achieve highest path coverage with minimized repetitions and minimized test suite in comparison to contemporary techniques for regression test optimization. Improvements: This approach basically generates the test path sequences using the bat algorithm and then calculates the test path fitness on the generated sequences. The prioritized test sequences are generated by arranging the test sequences in descending order from highest to lowest path fitness values. Keywords: Genetic Algorithm, Path Coverage, Regression Testing, Software Testing, Test Case Optimization

Highlights

  • Software code keeps on changing as the defects are fixed by the developers

  • Regression testing is a necessary evil because regression testing is extremely expensive, time intensive and iterative phase of software testing that must be carried out after every change in software code

  • (Figure 10) depicts the comparative analysis of all the case studies. It is evident from the comparative performance evaluation of the proposed “Bat Algorithm (BA)-TPF” technique that the proposed techniques outperform the other techniques on all fronts collectively on all parameters

Read more

Summary

Introduction

Software code keeps on changing as the defects are fixed by the developers. Every time a defect gets fixed, the software code is altered and updated. After P gets released, any kind of corrective, adaptive or perfective maintenance will change the software code leading to the newer version of software program P’ (release version Y). Thereafter, this modified software program P’ undergoes rigorous testing again to as a safety measure so that the accurate functioning of newly added functionality can be assured. This re-testing of software program P’ ensures that the change in code has not affected rest of the system and the newer defects have not been introduced in system. Test Case Prioritization: “Re-schedule the execution sequences of the test cases within the test suite in a particular order to maximize some goal”

Optimization
Comparative Performance Evaluation of “BA-TPF”
ATM System-Case Study 1
Comparative Metrics Performance Evaluation
Comparative TCP Values
Comparative APPC Values
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call