Skip to main content

Test Case Prioritization Based on Requirement

  • Conference paper
  • First Online:
Communication and Intelligent Systems

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 204))

  • 1144 Accesses

Abstract

In the software development process, the main concern of the developer is to develop a quality product and optimizing time and cost. Maintenance of the software is considered a costly activity. Regression testing is performed to test the modified software in the maintenance phase. In order to minimize the total time and cost, we can arrange test cases according to the different requirements proposed in the starting phase of the development. We can prioritize the test cases in such a manner that the higher priority test cases will execute before the lower priority test cases. This paper presents an approach to prioritize regression test cases based on requirements. Firstly, we have selected some requirement factors; based on these requirements, the weight for each specific requirement will be calculated. Further, we will map the test cases to the requirements and calculate a parameter based on the mapping, known as Test Case Weight (TCW) to the set of requirements. The higher TCW will be executed first. We have compared our proposed work with other prioritization techniques and found better results.

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 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping 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. Elbaum S, Malishevsky A, Rothermel G (2000) Prioritizing test cases for regression testing. In: Proceedings of the 2000 ACM SIGSOFT International Symposium on Software Testing and Analysis, Portland, Oregon, USA, pp 102–112

    Google Scholar 

  2. Kavitha R, Sureshkumar N (2010) Test case prioritization for regression testing based on severity of fault. Int J Comput Sci Eng 02(05):1462–1466

    Google Scholar 

  3. Tahviliy S, Saadatmand M, Bohlin M (2015) Multi-criteria test case prioritization using fuzzy analytic hierarchy process. In: ICSEA 2015: The tenth international conference on software engineering advances

    Google Scholar 

  4. Amrita, Yadav DK (2015) A novel method for software test case allocation. In: Proceeding of international conference on recent trends in computing

    Google Scholar 

  5. Krishnamoorthi R, Mary SSA (2009) Factor oriented requirement coverage based system test case prioritization of new and regression test cases. Inf Softw Technol 51(4):799–808

    Article  Google Scholar 

  6. Do H, Mirarab S, Tahvildari L, Rothermel G (2010) The effects of time constraints on test case prioritization: a series of controlled experiments. IEEE Trans Softw Eng 36(5):593–617

    Google Scholar 

  7. Kayes ML (2011) Test case prioritization for regression testing based on fault dependency. In: Proceedings of 3rd international conference in electronics computer technology (ICECT), vol 5, pp 48–52

    Google Scholar 

  8. Mei H, Hao D, Zhang L, Zhou J, Rothermel G (2012) A static approach to prioritizing junit test cases. IEEE Trans Software Eng 38(6):1258–1275

    Article  Google Scholar 

  9. Sampath S, Bryce R, Memon AM (2013) A uniform representation of hybrid criteria for regression testing. IEEE Trans Software Eng 39(10):1326–1344

    Article  Google Scholar 

  10. Reddy V, Reddy D, Mohan AR (2016) An approach for fault detection in software testing through optimized test case prioritization. Int J Appl Eng Res. 11(1):57–63. ISSN 0973-4562

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 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

Amrita, Gupta, P. (2021). Test Case Prioritization Based on Requirement. In: Sharma, H., Gupta, M.K., Tomar, G.S., Lipo, W. (eds) Communication and Intelligent Systems. Lecture Notes in Networks and Systems, vol 204. Springer, Singapore. https://doi.org/10.1007/978-981-16-1089-9_26

Download citation

  • DOI: https://doi.org/10.1007/978-981-16-1089-9_26

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-16-1088-2

  • Online ISBN: 978-981-16-1089-9

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics