Commenced in January 2007
Paper Count: 30576
Automated User Story Driven Approach for Web-Based Functional Testing
Abstract:Manual writing of test cases from functional requirements is a time-consuming task. Such test cases are not only difficult to write but are also challenging to maintain. Test cases can be drawn from the functional requirements that are expressed in natural language. However, manual test case generation is inefficient and subject to errors. In this paper, we have presented a systematic procedure that could automatically derive test cases from user stories. The user stories are specified in a restricted natural language using a well-defined template. We have also presented a detailed methodology for writing our test ready user stories. Our tool “Test-o-Matic” automatically generates the test cases by processing the restricted user stories. The generated test cases are executed by using open source Selenium IDE. We evaluate our approach on a case study, which is an open source web based application. Effectiveness of our approach is evaluated by seeding faults in the open source case study using known mutation operators. Results show that the test case generation from restricted user stories is a viable approach for automated testing of web applications.
Digital Object Identifier (DOI): doi.org/10.5281/zenodo.1339932Procedia APA BibTeX Chicago EndNote Harvard JSON MLA RIS XML ISO 690 PDF Downloads 1773
 Offutt, J., Quality attributes of web software applications. IEEE software, 2002. 19(2): p. 25.
 Hagel, J. and J.S. Brown, Your next IT strategy. Harvard business review, 2001. 79(9): p. 105-115.
 Kreger, H., Web services conceptual architecture (WSCA 1.0). IBM Software Group, 2001. 5: p. 6-7.
 Zo, H., D.L. Nazareth, and H.K. Jain. Measuring reliability of applications composed of web services. in System Sciences, 2007. HICSS 2007. 40th Annual Hawaii International Conference on. 2007. IEEE.
 Ricca, F. and P. Tonella. Analysis and testing of web applications. in Proceedings of the 23rd international conference on Software engineering. 2001. IEEE Computer Society.
 Wang, C., et al. Automatic generation of system test cases from use case specifications. in Proceedings of the 2015 International Symposium on Software Testing and Analysis. 2015. ACM.
 Zhang, M., et al. A systematic approach to automatically derive test cases from use cases specified in restricted natural languages. in International Conference on System Analysis and Modeling. 2014. Springer.
 Sinha, A., S.M. Sutton Jr, and A. Paradkar. Text2Test: Automated inspection of natural language use cases. in 2010 Third International Conference on Software Testing, Verification and Validation. 2010. IEEE.
 Sarmiento, E., J.C.S. do Prado Leite, and E. Almentero. C&L: Generating model based test cases from natural language requirements descriptions. in Requirements Engineering and Testing (RET), 2014 IEEE 1st International Workshop on. 2014. IEEE.
 Escalona, M., et al., An overview on test generation from functional requirements. Journal of Systems and Software, 2011. 84(8): p. 1379-1393.
 Hametner, R., D. Winkler, and A. Zoitl. Agile testing concepts based on keyword-driven testing for industrial automation systems. in IECON 2012-38th Annual Conference on IEEE Industrial Electronics Society. 2012. IEEE.
 Carvalho, G., et al. Test case generation from natural language requirements based on SCR specifications. in Proceedings of the 28th Annual ACM Symposium on Applied Computing. 2013. ACM.
 Lucassen, G., et al. Forging high-quality user stories: towards a discipline for agile requirements. in 2015 IEEE 23rd international requirements engineering conference (RE). 2015. IEEE.
 North, D., Introducing bdd. Better Software, March, 2006.
 North, D., What's in a story. 2007, February.
 Saravana. K.M, G.N.B., Rajkumar, Dr. A. Kovalan, “ Case Study On Agile User Stories Prioritization Using Imaginative Standard”. IJERA Vol. 2(no. 5): p. pp. 472-480.
 Cucumber, https://cucumber.io/. Retrieved June, 2015.
 JBehave, http://jbehave.org/. Retrieved July, 2015.
 Testing, C., http://www.jackkinsella.ie/2011/09/26/why-bother-with-cucumber-testing.html. Access Date, March 2016.
 Drawbacks, C., https://www.jimmycuadra.com/posts/please-don-t-use-cucumber/. Access Date, March 2016.
 Yue, T., L.C. Briand, and Y. Labiche. A use case modeling approach to facilitate the transition towards analysis models: Concepts and empirical evaluation. in International Conference on Model Driven Engineering Languages and Systems. 2009. Springer.
 Praphamontripong, U. and J. Offutt. Applying Mutation Testing to Web Applications. in ICST Workshops. 2010.
 Framework, P.M.t., A PHP 5.3+ Mutation Testing framework. https://github.com/padraic/mutagenesis, January 2016.