An improved model-based technique for generating test scenarios from UML class diagrams

The foundation of any software testing process is test scenario generation. This is because it forecasts the expected output of a system under development by extracting the artifacts expressed in any of the Unified Modeling Language (UML) diagrams, which are eventually used as the basis for software testing. Class diagrams are UML structural diagrams that describe a system by displaying its classes, attributes, and the relationships between them. Existing class diagram-based test scenario generation techniques only extract data variables and functions, which leads to incomprehensible or vague test scenarios. Consequently, this chapter aims to develop an improved technique that automatically generates test scenarios by reading, extracting, and interpreting the sets of objects that share attributes, operations, relationships, and semantics in a class diagram. From the performance evaluation, the proposed modelbased technique is efficiently able to read, interpret, and generate scenarios from all the descriptive links of a class diagram.

[1]  Tao He,et al.  Extenics-based Test Case Generation for UML Activity Diagram , 2013, ITQM.

[2]  K. R. Chandran,et al.  Automatic Test Case Generation for UML Object diagrams using Genetic Algorithm , 2009 .

[3]  Izzat Alsmadi Advanced Automated Software Testing: Frameworks for Refined Practice , 2012 .

[4]  Li Xuandong,et al.  Generating test cases from UML activity diagram based on Gray-box method , 2004 .

[5]  Dickson K. W. Chiu Theoretical and Analytical Service-Focused Systems Design and Development , 2012 .

[6]  Vinaya Sawant,et al.  Construction of Test Cases from UML Models , 2011 .

[7]  Philip Samuel,et al.  Automatic test case generation from UML communication diagrams , 2007, Inf. Softw. Technol..

[8]  Ankur Pachauri,et al.  Automated test data generation for branch testing using genetic algorithm: An improved approach using branch ordering, memory and elitism , 2013, J. Syst. Softw..

[9]  Augusto Sampaio,et al.  Automatic Test-Case Generation , 2007, PSSE.

[10]  Durga Prasad Mohapatra,et al.  Test Case Generation from Behavioral UML Models , 2010 .

[11]  Myra B. Cohen,et al.  An orchestrated survey of methodologies for automated software test case generation , 2013, J. Syst. Softw..

[12]  Alamgir Hossain,et al.  Automatic test cases generation from software specifications modules , 2010 .

[13]  Kamaljeet Sandhu Testing E-Learning Websites , 2012 .

[14]  Dimitris Plexousakis,et al.  Event Pattern Discovery in Multi-Cloud Service-Based Applications , 2015, Int. J. Syst. Serv. Oriented Eng..

[15]  Danilo Caivano,et al.  Model-Driven Test Code Generation , 2011, ENASE.

[16]  Li Xuandong,et al.  Automatic test case generation for UML activity diagrams , 2006 .

[17]  Hossain Shahriar,et al.  Request and Response Analysis Framework for Mitigating Clickjacking Attacks , 2015, Int. J. Secur. Softw. Eng..

[18]  Monalisa Sarma,et al.  System testing for object-oriented systems with test case prioritization , 2009 .