Automatic generation of multi-testing types test cases using requirements-based testing

During the last decade many researchers have concentrated more on applying the requirements-based testing by considering the usage of several UML models to generate test cases. Test cases being ready at an early stage of the development life cyle save so much time and cost. This paper proposes an automated model for generating multi-testing types test cases using activity diagrams. Activity Diagrams are one of the most famed UML diagrams used in modeling both business and operational workflows using stepwise activities and actions. Moreover, they put into consideration choices, iterations, concurrency as well as relationships among objects making them suitable for generating concrete test cases. Cyclomatic complexity metric is applied to check the generated test paths' coverage before the category partitioning method is applied to generate the final test cases suite. The generated test cases are suitable for multi-testing types. The proposed model is evaluated quantitatively and qualitatively against closely related work. The proposed model saves search space, time and effort. Besides, it improves the performance of the testing process.

[1]  M. F. Tolba,et al.  An enhanced technique for generating hybrid coverage test cases using activity diagrams , 2012, 2012 8th International Conference on Informatics and Systems (INFOS).

[2]  Guoliang Zheng,et al.  Generating test cases from UML activity diagram based on Gray-box method , 2004, 11th Asia-Pacific Software Engineering Conference.

[3]  N. Badr,et al.  A Proposed Test Case Generation Technique Based on Activity Diagrams , 2011 .

[4]  Mohamed F. Tolba,et al.  An enhanced test case generation technique based on activity diagrams , 2011, The 2011 International Conference on Computer Engineering & Systems.

[5]  A. Jefferson Offutt,et al.  Combination testing strategies: a survey , 2005, Softw. Test. Verification Reliab..

[6]  Daniel Galin,et al.  Software Quality Assurance: From Theory to Implementation , 2003 .

[7]  Sungwon Kang,et al.  Test Cases Generation from UML Activity Diagrams , 2007 .

[8]  N. Badr,et al.  Test Case Generation and Test Data Extraction Techniques , 2011 .

[9]  Klaus Beetz,et al.  Model Based Testing of System Requirements using UML Use Case Models , 2008, 2008 1st International Conference on Software Testing, Verification, and Validation.

[10]  Volker Gruhn,et al.  Generating Test Plans for Acceptance Tests from UML Activity Diagrams , 2010, 2010 17th IEEE International Conference and Workshops on Engineering of Computer Based Systems.

[11]  Anas N. Al-Rabadi,et al.  A comparison of modified reconstructability analysis and Ashenhurst‐Curtis decomposition of Boolean functions , 2004 .

[12]  Marc J. Balcer,et al.  The category-partition method for specifying and generating fuctional tests , 1988, CACM.

[13]  Debasis Samanta,et al.  Synthesis of test scenarios using UML activity diagrams , 2009, Software & Systems Modeling.

[14]  Arnold O. Allen Introduction to Computer Performance Analysis With Mathematica , 1994 .

[15]  Stanley M. Selkow,et al.  Algorithms in a Nutshell , 2008 .

[16]  Peng Jiang,et al.  Automatic Regression Test Selection Based on Activity Diagrams , 2011, 2011 Fifth International Conference on Secure Software Integration and Reliability Improvement - Companion.

[17]  Jia-Guang Sun,et al.  Automated Test Data Generation Algorithm Based on Reversed Binary Tree , 2007 .

[18]  Dan Pilone,et al.  UML 2.0 in a nutshell , 2005 .