Loading

Design of Software Testing Model Based on UML Class and Activity Diagram
Suman Rani1, Mukesh Rana2

1Suman Rani, Research Scholar, HCTM Technical Campus, Kaithal (Haryana), India.
2Dr. Mukesh Rana, Assistant Professor, HCTM Technical Campus, Kaithal (Haryana), India.

Manuscript received on 18 August 2018 | Revised Manuscript received on 27 August 2018 | Manuscript published on 30 August 2018 | PP: 8-15 | Volume-7 Issue-6, August 2018 | Retrieval Number: B5427128218/18©BEIESP
Open Access | Editorial and Publishing Policies | Cite | Mendeley | Indexing and Abstracting
© The Authors. Blue Eyes Intelligence Engineering and Sciences Publication (BEIESP). This is an open access article under the CC-BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/)

Abstract: Quality software can be developed when it is properly tested. Due to increase in the size and complexity of objectoriented software, manual testing has become time, resource and cost consuming. Properly designed test cases discover more errors and bugs present in the software. The test cases can be generated much early in the software development process, during the design phase. The unified modeling language (UML) is the most widely used language to describe the analysis and designs of object-oriented software. Test cases can be derived from UML models more efficiently. In our work, we propose a novel approach for automatic test case generation from the combination of UML class diagrams. In our approach, we first draw the UML class diagrams using any online drawing tool like smart draw or yuml.com. Then, we generate XML information of these models. The XML file is processed to extract variables from the class and predicates from class diagram using Java code. The predicates are then used to generate the test cases. Our approach achieves 100% branch coverage and suitable for mutation testing and unit testing.
Keywords: Quality Software, (UML), XML file, Manual Testing Has Become Time.

Scope of the Article: Quality Control