2007 · 13 citations · 4 references
ComputingComputer ScienceProgramming LanguagesSoftware EngineeringTest DevelopmentObject-oriented DesignObject-oriented ProgrammingSoftware DesignSoftware ModelingSoftware TestingAutomated Test GenerationCoordinationIntegration TestingReuseTest Case GenerationTest CasesTest GenerationTesting
Object-oriented programming has some unique features which facilitate software reuse and component-based de- velopment. However, testing object-oriented programs us- ing only traditional techniques is unlikely to find the faults caused by these features. The problem is that few integra- tion testing techniques have been systematically studied or defined. We present a novel approach to generate and exe- cute test cases for object-oriented programs from UML di- agrams. We have designed an approach to implement test cases using the concept of Coordination Contract. A Coor- dination Contract, related to the idea of the active associ- ation class in UML, defines connections among a group of objects without interfering with their implementations. By using the contract, test case generation and execution can be completed automatically. A prototype tool has been de- veloped to automatically derive the contracts based on the mechanism of test case generation mentioned above.
4
Jean Hartmann, Claudio Imoberdorf, Michael Meisinger · 2000 · 172 citations · Full text
Huo Yan Chen, T.H. Tse, Tsong Yueh Chen · ACM Transactions on Software Engineering and Methodology · 2001 · 130 citations
Interconnecting objects via contracts
Luis F. Andrade, José Luiz Fiadeiro · 1999 · 47 citations