Skip to main content
Log in

New test case prioritization strategies for regression testing of web applications

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

Abstract

A test case prioritization technique reschedules test cases for regression testing in an order to achieve specific goals like early fault detection. Currently, black box testing of web applications requires manual prioritization of test cases which is very time consuming. We propose a new two level prioritization approach to prioritize test cases for web applications as a whole. Our approach selects modified functionalities in a web application and automatically executes test cases on the basis of the impact of modified functionalities. We suggest several new prioritization strategies for web applications and examine whether these prioritization strategies improve the rate of fault detection for web applications. We propose a new test suite prioritization model for web applications that detects modified functionalities, selects test cases related to those functionalities and reschedules them to detect faults early in test suite execution.

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
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

Notes

  1. available freely at http://www.gotocode.com.

References

  • Baresi L, Pezzè M (2006) An introduction to software testing. Electron Notes Theor Comput Sci 148:89–111. doi:http://dx.doi.org/10.1016/j.entcs.2005.12.014

  • Cartaxo E, Neto F, Machado P (2007) Test case generation by means of uml sequence diagrams and labeled transition systems. In: Proceedings of the IEEE international conference on systems, man and cybernetics, ISIC, pp 1292–1297. doi:10.1109/ICSMC.2007.4414060

  • Di Lucca G, Fasolino A, Faralli F, De Carlini U (2002) Testing web applications. In: Proceedings of the international conference on software maintenance, pp 310–319. doi:10.1109/ICSM.2002.1167787

  • Di Lucca G, Fasolino A, Tramontana P, De Carlini U (2003) Abstracting business level uml diagrams from web applications. In: Proceedings of the fifth IEEE international workshop on web site evolution, pp 12–19. doi:10.1109/WSE.2003.1234004

  • Do H, Rothermel G, Kinneer A (2006) Prioritizing junit test cases: an empirical assessment and cost-benefits analysis. In: Empirical software engineering, vol 11. Kluwer Academic Publishers, Hingham, pp 33–70. doi:10.1007/s10664-006-5965-8

  • Elbaum S, Malishevsky AG, Rothermel G (2000) Prioritizing test cases for regression testing. In: Proceedings of the 2000 ACM SIGSOFT international symposium on software testing and analysis, ISSTA ’00. ACM, New York, pp 102–112. doi:http://doi.acm.org/10.1145/347324.348910

  • Elbaum S, Malishevsky A, Rothermel G (2001) Incorporating varying test costs and fault severities into test case prioritization. In: Proceedings of the 23rd international conference on software engineering. IEEE Computer Society, ICSE ’01, Washington, DC, pp 329–338. doi:10.1109/ICSE.2001.919106

  • Elbaum S, Malishevsky A, Rothermel G (2002) Test case prioritization: a family of empirical studies. In: IEEE transactions on software engineering, vol 28. IEEE Press, Piscataway, pp 159 –182. doi:10.1109/32.988497

  • Elbaum S, Karre S, Rothermel G (2003) Improving web application testing with user session data. In: Proceedings of the 25th international conference on software engineering, pp 49 – 59. doi:10.1109/ICSE.2003.1201187

  • Elbaum S, Rothermel G, Kanduri S, Malishevsky AG (2004) Selecting a cost-effective test case prioritization technique. In: Software quality control, vol 12. Kluwer Academic Publishers, Hingham, pp 185–210. doi:10.1023/B:SQJO.0000034708.84524.22

  • Garg D, Datta A (2012) Test case prioritization due to database changes in web applications. In: Proceedings of the 2012 IEEE fifth international conference on software testing, verification and validation, ICST ’12. IEEE Computer Society, Washington, DC, pp 726–730. doi:10.1109/ICST.2012.163

  • Gonzalez-Sanchez A, Piel r, Abreu R, Gross HG, van Gemund AJC (2011) Prioritizing tests for software fault diagnosis. In: Software: practice and experience. Wiley, New York, pp 42–51. doi:10.1002/spe.1065

  • Guo Y, Sampath S (2008) Web application fault classification—an exploratory study. In: Proceedings of the second ACM-IEEE international symposium on empirical software engineering and measurement, ESEM ’08. ACM, New York, pp 303–305. doi:http://doi.acm.org/10.1145/1414004.1414060

  • Harrold MJ, Jones JA, Li T, Liang D, Orso A, Pennings M, Sinha S, Spoon SA, Gujarathi A (2001) Regression test selection for Java software. SIGPLAN Not 36:312–326. doi: http://doi.acm.org/10.1145/504311.504305

    Google Scholar 

  • Heinecke A, Bruckmann T, Griebe T, Gruhn V (2010) Generating test plans for acceptance tests from uml activity diagrams. In: Proceedings of the 17th IEEE international conference and workshops on engineering of computer based systems (ECBS), pp 57 –66. doi:10.1109/ECBS.2010.14

  • Jeffrey D, Gupta N (2006) Test case prioritization using relevant slices. In: Proceedings of the 30th annual international computer software and applications conference, COMPSAC ’06, vol 1, pp 411 –420. doi:10.1109/COMPSAC.2006.80

  • Li G, Lu K, Zhang Y, Lu X, Zhang W (2009) Decoupling binary-level dynamic test generation from specific architecture details. In: Proceedings of the fourth international conference on computer sciences and convergence information technology, ICCIT ’09, pp 1041 –1046. doi:10.1109/ICCIT.2009.118

  • Lucca GAD, Fasolino AR (2006) Testing web-based applications: The state of the art and future trends. In: Quality assurance and testing of web-based applications, vol 48, pp 1172 – 1186. doi:10.1016/j.infsof.2006.06.006

  • Mansour N, Houri M (2006) Testing web applications. In: Information and software technology, vol 48, pp 31 – 42. doi:10.1016/j.infsof.2005.02.007

  • Rothermel G, Harrold MJ (1996) Analyzing regression test selection techniques. In: IEEE transactions on software engineering, vol 22. IEEE Press, Piscataway, pp 529–551. doi:http://dx.doi.org/10.1109/32.536955

  • Rothermel G, Harrold MJ, Dedhia J (2000) Regression test selection for C++ software. Softw Test Verif Reliab 10(2):77–109. doi:10.1002/1099-1689(200006)10:2<77::AID-STVR197>3.0.CO;2-E

  • Rothermel G, Untch R, Chu C, Harrold M (2001) Prioritizing test cases for regression testing. IEEE Trans Softw Eng 27(10):929–948. doi:10.1109/32.962562

    Google Scholar 

  • Salehie M, Li S, Tahvildari L, Dara R, Li S, Moore M (2011) Prioritizing requirements-based regression test cases: a goal-driven practice. In: Proceedings of the 15th european conference on software maintenance and reengineering (CSMR), pp 329–332. doi:10.1109/CSMR.2011.46

  • Sampath S, Sprenkle S, Gibson E, Pollock L, Greenwald A (2007) Applying concept analysis to user-session-based testing of web applications. IEEE Trans Softw Eng 33(10):643–658. doi:10.1109/TSE.2007.70723

    Google Scholar 

  • Sampath S, Bryce R, Viswanath G, Kandimalla V, Koru A (2008) Prioritizing user-session-based test cases for web applications testing. In: Proceedings of the 1st international conference on software testing, verification, and validation, pp 141 –150. doi:10.1109/ICST.2008.42

  • Samuel P, Mall R, Sahoo S (2005) Uml sequence diagram based testing using slicing. In: 2005 annual IEEE, INDICON, pp 176 – 178. doi:10.1109/INDCON.2005.1590149

  • Srikanth H, Williams L, Osborne J (2005) System test case prioritization of new and regression test cases. In: ISESE, pp 64–73. doi:10.1109/ISESE.2005.1541815

  • Srivastava A, Thiagarajan J (2002) Effectively prioritizing tests in development environment. In: Proceedings of the 2002 ACM SIGSOFT international symposium on software testing and analysis, ISSTA ’02. ACM, New York, pp 97–106. doi:http://doi.acm.org/10.1145/566172.566187

  • Torsel AM (2011) Automated test case generation for web applications from a domain specific model. In: Proceedings of the IEEE 35th annual conference on computer software and applications conference workshops (COMPSACW), pp 137–142. doi:10.1109/COMPSACW.2011.32

  • Tung YH, Tseng SS, Lee TJ, Weng JF (2010) A novel approach to automatic test case generation for web applications. In: Proceedings of the 10th international conference on quality software (QSIC), pp 399–404. doi:10.1109/QSIC.2010.33

  • Zimmermann T, Nagappan N (2007) Predicting subsystem failures using dependency graph complexities. In: Proceedings of the 18th IEEE international symposium on software reliability, ISSRE ’07, pp 227 –236. doi:10.1109/ISSRE.2007.19

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Deepak Garg.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Garg, D., Datta, A. & French, T. New test case prioritization strategies for regression testing of web applications. Int J Syst Assur Eng Manag 3, 300–309 (2012). https://doi.org/10.1007/s13198-012-0134-5

Download citation

  • Received:

  • Revised:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s13198-012-0134-5

Keywords

Navigation