Skip to main content
Log in

Test scenario prioritization from user requirements for web-based software

  • Original Article
  • Published:
International Journal of System Assurance Engineering and Management Aims and scope Submit manuscript

Abstract

User requirements are the building blocks for development of software applications. User requirements decide the width and breadth of any software. Nowadays, test scenarios are prepared from the user requirements, which give the test engineers ample scope to review the test plan thoroughly before doing software testing. Regression testing is carried out to know the effect of requirement changes on the functionalities and performance of the software. Test scenario prioritization, which is one of the techniques to perform regression testing, maximizes the ease of debugging for the system under test. The code based test scenario prioritization and model based test scenario prioritization have their own limitations. So, to achieve ease of debugging and to get more time for reviewing the test plans, researchers are now working on test scenario prioritization using requirements collected from the end users. In this paper, we propose an approach named Requirement based test scenario prioritization to prioritize test scenarios using requirements collected from end users for developing software applications. The user’s functional requirements are collected and is assigned with some weight depending upon different factors like complexity of implementing the requirements, type of release of the requirements, requirement volatility, coupling between requirements etc. Test scenarios are generated from requirements collected from the end users. Then, the final priority weight of each test scenario is found out by considering the weight of each requirement covered by the corresponding test scenario and the percentage of requirements coverage made by each test scenario. The test scenarios are prioritized based on the final priority weight. The proposed approach is evaluated using average percentage of fault detection metric and is found to be very efficient in early test scenario prioritization and detection of faults.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3

Similar content being viewed by others

References

  • Chauhan N (2018) Software Testing Principles: Practices, 4\(^{th}\), edition. Oxford University Press, New Delhi

    Google Scholar 

  • Rothermel G, Untch R. H, C. C, Harrold M.J (2001) Prioritizing test cases for regression testing. IEEE Trans Softw Eng

  • Srikanth H, Banerjee SWLOJ (2013) Towards the priritization of system test cases. J Softw Test Verif Reliab, pp 320–337

  • Hafeez SAY (2019) Enabling test case prioritization for component based software development. In: International conference on frontiers of information technology (FIT), pp 105–109

  • Hettiarachchi C, Do H (2019) A systematic requirements and risks-based test case prioritization using a fuzzy expert system. In: 2019 IEEE 19th international conference on software quality, reliability and security (QRS), pp 374–385

  • Hettiarachchia C, Do H, Choi B (2016) Risk-based testcas eprioritization using a fuzzy expert system. J Inf Softw Technol 69:1–15

    Article  Google Scholar 

  • IanSommerville PS (2010) Requirements engineering: a good practice guide, student. Wiley, London

    Google Scholar 

  • Jayant K, Rana A (2011) Prioritization based test case generation in regression testing. Int J Adv Eng Res (IJAER) 1

  • Krishnamoorthi R, Mary SASA (2009) Requirement based system test case prioritization of new and regression test cases. Int J Softw Eng Knowl Eng 19(3):453

    Article  Google Scholar 

  • Kumar V, Sujata Kumar M (2010) Test case prioritization using fault severity. Int J Comput Sci Technol 1:67–71

    Google Scholar 

  • Mahali P, Mohapatra DP (2018) Model based test case prioritization using uml behavioural diagrams and association rule mining. Int J Syst Assur Eng Manag 9:1063–1079

    Google Scholar 

  • Mall R (2009) Fundamental of software engineering. PHI Learning Private Limited, 3rd edition

    Google Scholar 

  • Marchetto A, Islam M, Asghar W, Susi A, Scanniello G (2016) A multi-objective technique to prioritize test cases. IEEE Trans Softw Eng 42(10):918–940. https://doi.org/10.1109/TSE.2015.2510633

    Article  Google Scholar 

  • Mathur AP (2008) Foundations of software testing, \(1^{st}\) edn. Addison-Wesley Professional, New York

    Google Scholar 

  • Arafeen Md. JDH (2013) Test case prioritization using requirement-based clustering. In: IEEE sixth international conference on software testing, verification and validation, pp 312–321

  • Mogyorodi G (2002) Requirement-based testing: an overview. In: Proceedings 39th international conference and exhibition on technology of object-oriented languages and systems. TOOLS 39, IEEE, pp 286–295

  • Muhammad A, Inayat Irum SMJN (2019) Requirement dependencies-based test case prioritization for extra-functional properties. In: IEEE international conference on software testing, verification and validation workshops (ICSTW), pp 159–163

  • Mukherjee R, Patnaik K.S (2018) A survey on different approaches for software test case prioritization. Journal of King Saud University-Computer and Infromation Sciences, ScienceDirect

  • Nayak S, Kumar C, Tripathi S (2017) Enhancing efficiency of the test case prioritization technique by improving the rate of fault detection. Arab J Sci Eng 42:3307–3323

    Article  Google Scholar 

  • Ouriques JFS, Cartaxo EG, Machado PDL (2018) Test case prioritization techniques for model-based testing: a replicated study. Softw Qual J26:1451–1482

    Article  Google Scholar 

  • Panthi V (2017) Generation and prioritization of test scenarios for object-oriented software using uml state machines. Ph.D. thesis, National Institute of Technology Rourkela India

  • Panthi V, Gardizy A, Mohapatra RK, Mohapatra DP (2018) Functionality testing of object-oriented software using uml state machine diagram. In: 2018 IEEE international conference on circuits and systems in digital enterprise technology, pp 1–7

  • Luo Qi, Moran Kevin, L Z, D P (2019) How do static and dynamic tes case prioritization techniques perform on modern software systems? an extensive study on github projects. IEEE Trans Softw Eng 45:1054–1980

    Article  Google Scholar 

  • Kavitha R, Kavitha VRKN (2010) Requirement based test case prioritization. In: International conference on communication control and computing technologies (ICCCCT 2010), pp 826–829

  • Kavitha RVRK, Kumar NS (2010) Requirement based test case prioritization. In: International conference on communication, control and computing technologies, pp 826–829

  • Krishnamoorthi R, Sahaaya Arul SM (2009) Test case prioritization using requirement-based clustering. Inf Softw Technol 51(799): 808

  • Rava M, Wan-Kadir WM (2016) A review on prioritization techniques in regression testing. Int J Softw Eng Appl 10(1):221–232

    Article  Google Scholar 

  • Pressman Roger SBRM (2019) Software engineering: a practitioner’s approach, \(9^{th}\) edn. McGraw-Hill, New York

  • Roongruangsuwan S, Daengdej J (2010) Test case prioritization techniques. J Theor Appl Inf Technol 18:45–60

    Google Scholar 

  • Rothermal G, Untch RH, Chu C, HarRold MJ (2001) Prioritizing test cases for regression testing. IEEE Trans Softw Eng 27(10):929–948

    Article  Google Scholar 

  • Samuel P, Joseph A.T (2008) Test sequence generation from UML sequence diagrams. In: Proceedings of \(9^{th}\) international conference on software engineering, artificial intelligence, networking, and parallel/distributed computing, vol 2008, pp 879–887

  • Singh A, Bhatia RK, Singhrova A (2018) Object oriented coupling based test case prioritization. Int J Comput Sci Eng 6:747–754

    Article  Google Scholar 

  • Srivastava PR, Kumar K, Raghurama G (2008) Test case prioritization based on requirements and risk factors. ACMSIGSOFT Softw Eng Notes 33(4):1–5

    Article  Google Scholar 

  • Swain RK, Panthi V, Behera PK, Mohapatra DP (2014) Slicing-based test case generation using uml 2.0 sequence diagram. Int J Comput Intell Stud, p 3

  • Swain R.K, Panthi V, Mohapatra D.P, Behera P.K (2014) Prioritizing test scenarios from uml communication and activity diagrams. Innov Syst Softw Eng, ACM, p 10

  • Wang X, Zeng H (2016) History-based dynamic test case prioritization for requirement properties in regression testing. In: Proceedings of international workshop on continuous software evolution and delivery, Austin, TX, USA, pp 41–47

  • Zhang X, Nie C, X B, Q B (2007)Test case prioritization based on varying testing requirement priorities and test case cost. Int Conf Qual Softw, pp 15–24

  • Yoo S, Harman M (2007) Regression testing. A survey, software testing, verification and reliability, minimisation, selection and prioritisation, pp 1--60

  • Yoon M (2013) A test case prioritization through correlation of requirement and risk. J Soft Eng 05:823–836

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Namita Panda.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Panda, N., Mohapatra, D.P. Test scenario prioritization from user requirements for web-based software. Int J Syst Assur Eng Manag 12, 361–376 (2021). https://doi.org/10.1007/s13198-021-01056-4

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s13198-021-01056-4

Keywords

Navigation