Procedia Technology · 2012 · 15 citations · 8 references
ComputingComputer ScienceDiagrammingModel-based Systems EngineeringSoftware EngineeringDesign For TestabilityModel-driven Software EngineeringObject-oriented AnalysisObject-oriented DesignSoftware ModelingSoftware TestingInteraction DiagramsSlicingTest Case GenerationTest CasesTest CoverageTest GenerationTestingUml Sequence Diagrams
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.
8
Gerardo Canfora, A. Cimitile, Andrea De Lucia · Information and Software Technology · 1998 · 206 citations
Understanding function behaviors through program slicing
Andrea De Lucia, Anna Rita Fasolino, Malcolm Munro · 2002 · 142 citations