Using Clustering Approach to Enhance Prioritization of Regression Test Cases

  • Conference paper
  • First Online:
Intelligent Data Engineering and Analytics (FICTA 2023)

Abstract

Regression testing is necessary to maintain software quality, so it is expensive. The prioritization test case is a popular strategy for lowering this expense. When a change is made to an existing system, this testing is done to check for faults. It is more effective for test cases to be scheduled utilizing the test case prioritization technique to meet specified performance criteria. Many scholars have developed regression test case prioritizing algorithms; based on clustering methodologies to minimize the cost and improve testing's ability to find faults. We describe a method in this research that can be used to increase the effectiveness of various clustering techniques. Code complexity and code coverage are used in prioritization strategies that use clustering approaches to enhance the effectiveness of the prioritization. Ambiguities and uncertainties are present in the process of choosing an appropriate test case and locating incorrect functionalities.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 229.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 299.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free ship** worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Rothermel, G., Untch, R.H., Chengyun Chu, Harrold, M.J.: Test case prioritization: an empirical study. IEEE Trans. Softw. Engi. (1999). Software maintenance for business change (Cat. No.99CB36360). https://doi.org/10.1109/icsm.1999.792604

  2. Elbaum, S., Malishevsky, A.G., Rothermel, G.: Test case prioritization: a family of empirical studies. IEEE Trans. Software Eng. 28(2), 159–182 (2002)

    Article  Google Scholar 

  3. Chung, K., Tainand, Y.L.: A test generation strategy for pairwise testing. IEEE Trans. Softw. Eng. 28, 109–111 (2002)

    Google Scholar 

  4. Chen, T.Y., Poon, P.L.: A choice Relation framework for supporting category-partition test case generation. IEEE Trans. Softw. Eng. 29(7), 577–593 (2003)

    Google Scholar 

  5. Srikanth, H., Williams, L., Osborne, J.: System Test Case Prioritization of New and Regression Test Cases. International Computer Software and Applications Conference, Chicago, Illinois (2006)

    Google Scholar 

  6. Berkhin, P.: Survey of Clustering Data Mining Techniques, Accrue Software, Inc Grou** Multidimensional Data. Springer (2006)

    Google Scholar 

  7. Yoo, S., Harman, M.: Regression testing minimisation, selection, and prioritisation: a survey. Test Verif Reliab 1, 1–7 (2007)

    Google Scholar 

  8. Korel, B., Koutsogiannakis, G.: Experimental comparison of code-based and model-based test prioritization. In: IEEE International Conference on Software Testing Verification and Validation Workshops (2007)

    Google Scholar 

  9. Engström, E., Runeson, P., Skoglund, M.: A Systematic Review on Regression Test Selection Techniques, Information and Software Technology. Elsevier (2009)

    Google Scholar 

  10. Srikanth, H., Williams, L.: Requirements-based test case prioritization. IEEE Trans. Softw. Eng. 28, 1–2 (2010)

    Google Scholar 

  11. Mumtaz, K., Duraiswamy. K.: A novel density-based improved k-means clustering algorithm—Dbkmeans. Int. J. Comput. Sci. Eng. 2(2), 213–218 (2010)

    Google Scholar 

  12. Carlson, R., Do, H., Denton, A.: A clustering approach to improving test case prioritization: an industrial case study. In: 27th IEEE International Conference on Software Maintenance (ICSM), pp. 382–391 (2011)

    Google Scholar 

  13. Chen, S., Chen, Z., Zhao, Z., Xu, B., Feng, Y.: Using semi-supervised clustering to improve regression test selection techniques. In: Fourth IEEE International Conference on Software Testing, Verification, and Validation, pp. 1–10 (2011)

    Google Scholar 

  14. Mohanty, S., Acharya, A.A.,Mohapatra, D.P.: A model-based prioritization technique for component-based software retesting using UML state chart diagram. In: International Conference on Electronics Computer Technology, IEEE (2011)

    Google Scholar 

  15. Catal, C.: On the application of genetic algorithms for test case prioritization: a systematic literature review. In: Proceedings of the 2nd International Workshop, Springer (2012)

    Google Scholar 

  16. Upadhyay, A.K., Misra, A.K.: Prioritizing test suites using clustering approach in software testing. Int. J. Soft Comput. Eng. ISSN: 2231–2307, 2(4), 222–226 (2012)

    Google Scholar 

  17. Malhotra, R., Tiwari, D.: Development of a framework for test case. Prioritization using genetic algorithm. In: ACM SIGSOFT Software Engineering, vol. 38 (2013)

    Google Scholar 

  18. Siddik, M.S., Sakib, K.: An effective test case prioritization framework using software requirements, design, and source code collaboration. In: 17th International Conference on Computer and Information Technology (ICCIT) (2014)

    Google Scholar 

  19. Indumathi, C.P. Selvamani, K.: Test case prioritization using open dependency structure algorithm. In: Proceedings of International Conference on Intelligent Computing, Communication and Convergence (ICCC), Procedia Computer Science, vol. 48, pp. 250–255. Elsevier (2015)

    Google Scholar 

  20. Pathania, Y., Kaur, G: Role of test case prioritization based on regression testing using clustering. Int. J. Comput. Appl. 116, 7–10 (2015)

    Google Scholar 

  21. Wang, X., Zeng, H.: History-based dynamic test case prioritization for requirement properties in regression testing. In: International Workshop on Continuous Software Evolution and Delivery. ISBN 978-1-4503-4157-8/16/0 (2016)

    Google Scholar 

  22. Rosero, H., Gómez, S., Rodríguez, G.: 15 years of software regression testing techniques—a survey. Int. J. Softw. Eng. Knowl. Eng. 26, 675–689 (2016)

    Google Scholar 

  23. Spieker, H., Gotlieb, A., Marijan, A., Mossige, M.: Reinforcement learning for automatic test case prioritization and selection in continuous integration. In: 26th ACM SIGSOFT International Symposium on Software Testing and Analysis, pp. 12–22 (2017)

    Google Scholar 

  24. Sultan, Z., Bhatti, S.N., Abbas, R., Shah, S.A.A.: Analytical review on test cases prioritization techniques: an empirical study. Int. J. Adv. Comput. Sci. Appl. 8, 293–302 (2017)

    Google Scholar 

  25. Chena, J., Zhua, L., Chen, T.Y., Toweyc, D., Kuob, F.C., Huang, R., Guoa, Y.: Test case prioritization for object-oriented software: an adaptive random sequence approach based on clustering. In: 7th IEEE International Workshop on Program Debugging (2017)

    Google Scholar 

  26. Agrawal, A. P., Kaur, A.: A comprehensive comparison of ant colony and hybrid particle swarm optimization algorithm through test case selection. In: Data Engineering and Intelligent Computing, pp. 397–405. Springer Singapore (2018)

    Google Scholar 

  27. Lachmann, R.: Machine learning-driven test case prioritization approaches for black-box software testing. In: Test and Telemetry Conference. Springer (2018)

    Google Scholar 

  28. Panwar, D., Tomar, P., Harsh H., Siddique, M.H.: Improved Meta-Heuristic Technique for Test Case Prioritization. Springer (2018)

    Google Scholar 

  29. Panda, N., Acharya, A.A., Mohapatra, D.P.: Test scenario prioritization for object-oriented systems using UML diagram. Int. J. Syst. Assur. Eng. Manage. 10, 316–325 (2019) (Springer)

    Google Scholar 

  30. Panda, M., Dash, S.: Test-case generation for model-based testing of object-oriented programs. In: Automated Software Testing, pp. 53–77. Springer (2020)

    Google Scholar 

  31. Meçe, E.M., Hakik, P., Binjaku,K.: The application of machine learning in test case prioritization—a review. Eur. J. Electr. Comput. Eng. 4, 1–9 (2020)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Umakanta Dash .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Dash, U., Acharya, A.A., Dash, S.R. (2023). Using Clustering Approach to Enhance Prioritization of Regression Test Cases. In: Bhateja, V., Carroll, F., Tavares, J.M.R.S., Sengar, S.S., Peer, P. (eds) Intelligent Data Engineering and Analytics. FICTA 2023. Smart Innovation, Systems and Technologies, vol 371. Springer, Singapore. https://doi.org/10.1007/978-981-99-6706-3_7

Download citation

Publish with us

Policies and ethics

Navigation