Waterfall and agile requirements-based model for automated test cases generation

Requirements-based testing is a testing approach in which test cases are derived from requirements. Requirements represent the initial phase in software developments life cycle. Requirements are considered the basis of any software project. Therefore, any ambiguity in natural language requirements leads to major errors in the coming phases. Moreover, poorly defined requirements may cause software project failure. There exist many software development models as waterfall model, agile model, etc. In this paper, we propose a novel automated approach to generate test cases from requirements. Requirements can be gathered from different models either waterfall model (functional and non-functional) or agile model. SRS documents, non-functional requirements and user stories are parsed and used by the proposed approach to generate test cases in which requirements with different types are covered. The proposed approach uses text mining and symbolic execution methodology for test data generation and validation, where a knowledge base is developed for multi-disciplinary domains.

[1]  Rimantas Butleris,et al.  Information Systems Requirements Specification and Usage in Test Case Generation , 2014, ICIST.

[2]  Clémentine Nebut,et al.  Visualization of Use Cases through Automatically Generated Activity Diagrams , 2008, MoDELS.

[3]  Ying Xing,et al.  A Hybrid Intelligent Search Algorithm for Automatic Test Data Generation , 2015 .

[4]  Margus Veanes,et al.  Model-Based Testing of Object-Oriented Reactive Systems with Spec Explorer , 2008, Formal Methods and Testing.

[5]  M. Vieira,et al.  1 UML-based Test Generation and Execution , 2004 .

[6]  Supratik Mukhopadhyay,et al.  RETNA: from requirements to testing in a natural way , 2004, Proceedings. 12th IEEE International Requirements Engineering Conference, 2004..

[7]  Lionel C. Briand,et al.  A systematic review of transformation approaches between user requirements and analysis models , 2011, Requirements Engineering.

[8]  Mark Harman,et al.  Strong higher order mutation-based test data generation , 2011, ESEC/FSE '11.

[9]  Lori A. Clarke,et al.  A System to Generate Test Data and Symbolically Execute Programs , 1976, IEEE Transactions on Software Engineering.

[10]  Phil McMinn,et al.  Automatic generation of valid and invalid test data for string validation routines using web searches and regular expressions , 2015, Sci. Comput. Program..

[11]  Priyanka Kulkarni,et al.  Generating and Analyzing Test cases from Software Requirements using NLP and Hadoop , 2014 .

[12]  H. E. Chandler,et al.  Technical writer's handbook , 1982, IEEE Transactions on Professional Communication.

[13]  Hitesh Tahbildar,et al.  AUTOMATED SOFTWARE TEST DATA GENERATION: DIRECTION OF RESEARCH , 2011 .

[14]  Atul Gupta,et al.  An Approach of Generating Test Requirements for Agile Software Development , 2015, ISEC.

[15]  Ajitha Rajan,et al.  Coverage Metrics for Requirements-Based Testing: Evaluation of Effectiveness , 2010, NASA Formal Methods.

[16]  C. V. Ramamoorthy,et al.  On the Automated Generation of Program Test Data , 1976, IEEE Transactions on Software Engineering.

[17]  Peter Fröhlich,et al.  Automated Test Case Generation from Dynamic Models , 2000, ECOOP.

[18]  Martin Glinz,et al.  A Practical Approach to Validating and Testing Software Systems Using Scenarios , 1999 .

[19]  Chien-Chang Lee,et al.  Requirements Modeling and Automated Requirements-Based Test Generation , 2013 .

[20]  Bogdan Korel,et al.  Automated Software Test Data Generation , 1990, IEEE Trans. Software Eng..

[21]  Man Zhang,et al.  RTCM: a natural language based, automated, and practical test case generation framework , 2015, ISSTA.