Abstract
One of the major problems of software industry is its inability to develop error free software. Approximately 40–50 % of SDLC cost is spent on software testing. When applications need to be developed rapidly with changing user demands, this expenditure takes a significant value. Software testing is very important but is an effort consuming activity. Large numbers of test cases are possible and some of them may make software fail. Therefore there is a need to automate the existing manual approach to minimize the test case execution time and further optimize test cases. In this paper a keyword oriented data driven hybrid framework—HTLP (hybrid test language processing) been proposed for automatic test case execution and optimization. The HTLP is applied to an open source software based application-Vtiger CRM5. The proposed framework is compared with manual testing approach for test case execution and optimization. Based on experimental results it is concluded that (1) with iterative regression cycles the HTLP testing time is significantly very low as compared to manual testing approach and (2) a high level of test suite optimization (83.78 %) is achieved using the proposed framework.
Similar content being viewed by others
References
Singh Y (2012) Software testing. Cambridge University Press, Cambridge, pp 38–40
Boujarwah AS, Saleh K (1997) Compiler test case generation methods: a survey and assessment. Inf Softw Technol 39(9):617–625
http://www.internetjournals.net/journals/tir/2009/January/Paper%2006.pdf. Accessed May 2014
Nidhra S, Dondeti J (2012) Black box and white box testing techniques—a literature review. Int J Embed Syst Appl 2(2):29–50
Keane I, Rota WP (2006) ROI on test automation. http://www.ispe.org/pe-ja/roi-of-test-automation. Accessed Nov 2014
Ramamoorthy C, Ho S, Chen W (1973) On the automated generation of program test data. IEEE Trans Softw Eng 2(4):293–300
Dustin E, Rashka J, Paul J (1999) Automated software testing. Addison-Wesley, Boston
Sangwan OP, Bhatia PK, Singh Y (2001) Radial basis function neural network based approach to test oracle. ACM SIGSOFT Softw Eng Notes 36(5):1–5
Bicevskis J, Borzovs J, Straujums U, Zarins A, Miller E (1979) SMOTL—a system to construct samples for data processing pro-gram debugging. IEEE Trans Softw Eng 5(1):60–66
Zallar K (2001) Are you ready for the test automation game? Softw Test Qual Eng 3(6):22–26
Fewster M, Graham D (1999) Software test automation. Addison-Wesley, Boston
Neha C, Sangwan OP, Arora R (2014) Event-coverage and weight based method for test suite prioritization. Int J Inf Technol Comput Sci 6(12):61–66
Software test analyst. http://olaiainforarch.wordpress.com/category/test-process/. Accessed Apr 2014
Mann M, Sangwan OP (2015) Generating and prioritizing optimal paths using ant colony optimization. Comput Ecol Softw 5(1):1–15
Aggarwal KK, Singh Y, Kaur A, Sangwan OP (2004) A neural net based approach to test oracle. ACM SIGSOFT Softw Eng Notes 29(3):1–6
Neha C, Sangwan OP, Singh Y (2012) Test case prioritization using fuzzy logic for GUI based software. Proc Int J Adv Comput Sci Appl 3(12):222–227
Mann M, Sangwan OP (2014) Test case prioritization using Cuscuta search. Netw Biol 4(4):179–192
Boyer R, Elspas B, Levitt K (1975) SELECT—a formal system for testing and debugging programs by symbolic execution. SIGPLAN Not 10(6):234–245
Johnson R, Foote B (1998) Designing reusable classes. J Object Oriented Progr 1(2):22–35
Grieskamp W, Gurevich Y, Schulte W, Veanes M (2002) Generating finite state machines from abstract state machines. In: ISSTA
Quick Test Professional (2010) QTP helps documentation. Available with QTP 10.00 Version. Accessed March 2014
Biswas S, Mall R, Satpathy M, Sukumaran S (2011) Regression test selection techniques: a survey. Informatica 35:289–321
Mann M, Sangwan OP (2013) Test language processing: a novel approach for automated software testing. Softw Eng Int J 3(2):29–34
http://sourceforge.net/projects/vtigercrm/files/vtiger%20CRM%20Release%20Archive/vtiger%20CRM%205/. Accessed May 2013
Gavetter FJ, Larry BW (2006) Correlation. In: Statistics for behavioral sciences, 7th edn. Wadsworth Publishing, pp 519–561
Harrold M, Rothermel G (1994) Performing data flow testing on classes. In: Proceedings of the 2nd ACM SIGSOFT symposium on Foundations of software engineering, pp 154–163
Harrold M, Soffa M (1989) Interprocedural data flow testing. In: Proceedings of the ACM SIGSOFT’89 third symposium on software testing, analysis, and verification, pp 158–167
Gupta R, Harrold M, Soffa M (1996) Program slicing-based regression testing techniques. J Softw Test Verif Reliab 2:83–112
Taha A, Thebaut S, Liu S (1989) An approach to software fault localization and revalidation based on incremental data flow analysis. In: Proceedings of the 13th annual international computer software and applications conference, pp 527–534
Binkley D (1997) Semantics guided regression test cost reduction. IEEE Trans Softw Eng 23(8):498–516
Agrawal H, Horgan J, Krauser E, London S (1993) Incremental regression testing. In: IEEE international conference on software maintenance, pp 348–357
Bates S, Horwitz S (1993) Incremental program testing using program dependence graphs. In: Conference record of 20th ACM SIGPLAN-SIGACT symposium on principles of programming languages, pp 384–396
Leung H, White L (1992) A firewall concept for both control-flow and data-flow in regression integration testing. In: Proceedings of the conference on software maintenance, pp 262–270
Leung H, White L (1990) A study of integration testing and software regression at the integration level. In: Proceedings of the conference on software maintenance, pp 290–300
Chen Y, Rosenblum D, Vo K (1994) TestTube: a system for selective regression testing. In: Proceedings of the 16th international conference on software engineering, pp 211–222
Vokolos F, Frankl P (1997) Pythia: a regression test selection tool based on textual differencing. In: Proceedings of the 3rd international conference on reliability, quality & safety of software-intensive systems (ENCRESS’ 97), pp 3–21
Vokolos F, Frankl P (1998) Empirical evaluation of the textual differencing regression testing technique. In: ICSM’98: proceedings of the international conference on software maintenance, pp 44–53
Zhao J, Xie T, Li N (2006) Towards regression test selection for AspectJ programs. In: Proceedings of the 2nd workshop on testing aspect-oriented programs (WTAOP’06), pp 21–26
Rothermel G, Harrold M (1997) A safe, efficient regression test selection technique. ACM Trans Softw Eng Methodol 6(2):173–210
Xu L, Xu B, Chen Z, Jiang J, Chen H (2003) Regression testing for web applications based on slicing. In: Proceedings of the 27th annual international computer software and applications conference (COMPSAC 2003), Los Alamitos, CA, USA, pp 652–656
Ruth M, Oh S, Loup A, Horton B et al (2007) Towards automatic regression test selection for web services. In: Proceedings of the 31st annual international computer software and applications conference, vol 2, pp 729–736
Willmor D, Embury S (2005) A safe regression test selection technique for database-driven applications. In: Proceedings of the 21st IEEE international conference on software maintenance. IEEE Computer Society, pp 421–430
Haraty R, Mansour N, Daou B (2004) Advanced topics in database research, volume 3, chapter regression test selection for database applications, pp 141–165
Tarhini A, Fouchal H, Mansour N (2006) Regression testing web services-based applications. In: AICCSA’06 proceedings of the IEEE international conference on computer systems and applications. IEEE Computer Society, pp 163–170
Lin F, Ruth M, Tu S (2006) Applying safe regression test selection techniques to Java web services. In: International conference on next generation Web services practices. IEEE Computer Society, Los Alamitos, CA, USA, pp 133–142
Ruth M, Tu S (2007) A safe regression test selection technique for web services. In: Proceedings of the second international conference on Internet and Web applications and services
Xu G, Rountev A (2007) Regression test selection for AspectJ software. In: ICSE’07: proceedings of the 29th international conference on software engineering, pp 65–74
Acknowledgments
This work was supported by university grant commission (UGC), Government of India for Doctoral Research Study under Grant No. F./201415/NFO201415OBCDEL16123. The authors are very grateful to the anonymous reviewers for providing valuable and detailed comments that have greatly improved the paper.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Mann, M., Sangwan, O.P. & Tomar, P. Hybrid test language processing based framework for test case optimization. CSIT 3, 71–81 (2015). https://doi.org/10.1007/s40012-015-0073-9
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s40012-015-0073-9