|
Test Case Generation Based on Use case and Sequence DiagramKeywords: Concurrent control flow graph , full predicate coverage , sequence diagram , UML 2.0 and use case Abstract: We present a comprehensive test case generation technique from UMLmodels. We use the features in UML 2.0 sequence diagram includingconditions, iterations, asynchronous messages and concurrent components.In our approach, test cases are derived from analysis artifacts such as usecases, their corresponding sequence diagrams and constraints specifiedacross all these artifacts. We construct Use case Dependency Graph (UDG)from use case diagram and Concurrent Control Flow Graph (CCFG) fromcorresponding sequence diagrams for test sequence generation. We focustesting on sequences of messages among objects of use case scenarios.Our testing strategy derives test cases using full predicate coverage criteria.Our proposed test case generation technique can be used for integration andsystem testing accommodating the object message and condition informationassociated with the use case scenarios. The test cases thus generated aresuitable for detecting synchronization and dependency of use cases andmessages, object interaction and operational faults. Finally, we have madean analysis and comparison of our approach with existing approaches, whichare based on other coverage criterion through an example.
|