A Transformation-Based Method for Test Case Automatic Generation from Use Cases

This paper proposes a method to automatically generate system test cases from use cases. Within our method, we take use cases as source model that are represented by the use case modeling language USL. The target model for test cases is precisely specified using a modeling language named Test Case Specification Language (TCSL). Comparing with current approaches, generated test cases within our approach contain more detailed information including test steps, test objects within steps, actions of test objects, and test data. We focus on defining a transformation between the USL source model and the TCSL target model. We realized our method with a support tool based on the OCL solver of USE and the model transformation framework in Eclipse.

[1]  Clémentine Nebut,et al.  Automatic test generation: a use case driven approach , 2006, IEEE Transactions on Software Engineering.

[2]  Julio Cesar Sampaio do Prado Leite,et al.  Test Scenario Generation from Natural Language Requirements Descriptions based on Petri-Nets , 2016, CLEI Selected Papers.

[3]  Martin Gogolla,et al.  Model Validation and Verification Options in a Contemporary UML and OCL Analysis Tool , 2016, Modellierung.

[4]  Minh-Duc Le,et al.  USL: Towards Precise Specification of Use Cases for Model-Driven Development , 2017, SoICT.

[5]  Lionel C. Briand,et al.  Automatic generation of system test cases from use case specifications , 2015, ISSTA.

[6]  J. Heumann Generating Test Cases From Use Cases , 2001 .

[7]  Javier J. Gutiérrez,et al.  An approach to generate test cases from use cases , 2006, ICWE '06.

[8]  Javier J. Gutiérrez,et al.  Automatic Test Case Generation from Functional Requirements in NDT , 2012, ICWE Workshops.

[9]  Ivar Jacobson,et al.  Object-oriented development in an industrial environment , 1987, OOPSLA '87.

[10]  P. E. Patel,et al.  Testcases Formation Using UML Activity Diagram , 2013, 2013 International Conference on Communication Systems and Network Technologies.

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

[12]  Michal Smialek,et al.  Automating acceptance testing with tool support , 2014, 2014 Federated Conference on Computer Science and Information Systems.