Abstract

In our approach, we use condition slicing and generate test cases from UML interaction diagrams. A novel testing methodology, to test object oriented software based on UML interaction diagrams is presented here. In our method, we identify the message guards on interaction diagrams and create condition slices with respect to each conditional predicates. We have proposed conditioned slicing as a general slicing framework for test case generation from interaction diagrams. To generate test cases, our approach, first builds a message flow dependence graph from an ordinary UML sequence diagram and then applies conditioned slicing on a predicate node of the graph. By this it minimizes the number of test cases generated while deriving all practically useful test cases. The effectiveness of a test case is based on how well the test modeled behaviors are covered and exercised. Test cases that we generate satisfy slice test coverage as well message path coverage. Our proposed method satisfies high path coverage criterion. Our technique also describes how condition slicing is used in testing and it achieves adequate test coverage without increasing the number of test cases.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.