Test Case Generation Using UML Diagram

Software Testing plays an important role in Software development because it can minimize the development cost. Any software two phases are considered, one is designing phase and other is testing phase. In designing phase system is designed which consists of all aspects of the system like its functions, operations and features. In testing phase test cases are generated to test the system in order to develop efficient software. UML is widely used in the software development, there consists of the designing and coding of the software. Designing phase is done with the help of the UML models, which consists of the sequence diagrams, activity diagrams, use case diagrams, state chart diagrams etc. After designing of the system, the next task is coding. Human resource consuming, the reduction of consumption is done with the help of the code generation automatically. This work mainly focus on the UML sequence diagram and state chart diagram as the model. We Propose a Technique for Test Case Generation using UML Models. An innovative approach of generating test cases from the combination of UML design diagrams have been discussed in this paper. Present work used an approach where sequence diagram and state chart diagram has been used to generate test cases. The test cases thus generated are suitable for dynamic testing of system. Index Terms – BOUML, Code Generation, Java, Sequence Diagram, UML, Test Case Sequence, Model Based Testing, ModelJunit, Statechart diagram, Test cases.