面向对象程序的集成测试方法

Zhe Li, T. Maibaum
{"title":"面向对象程序的集成测试方法","authors":"Zhe Li, T. Maibaum","doi":"10.1109/QSIC.2007.13","DOIUrl":null,"url":null,"abstract":"Object-oriented programming has some unique features which facilitate software reuse and component-based development. However, testing object-oriented programs using only traditional techniques is unlikely to find the faults caused by these features. The problem is that few integration testing techniques have been systematically studied or defined. We present a novel approach to generate and execute test cases for object-oriented programs from UML diagrams. We have designed an approach to implement test cases using the concept of coordination contract. A coordination contract, related to the idea of the active association 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 developed to automatically derive the contracts based on the mechanism of test case generation mentioned above.","PeriodicalId":136227,"journal":{"name":"Seventh International Conference on Quality Software (QSIC 2007)","volume":"6 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2007-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"17","resultStr":"{\"title\":\"An Approach to Integration Testing of Object-Oriented Programs\",\"authors\":\"Zhe Li, T. Maibaum\",\"doi\":\"10.1109/QSIC.2007.13\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Object-oriented programming has some unique features which facilitate software reuse and component-based development. However, testing object-oriented programs using only traditional techniques is unlikely to find the faults caused by these features. The problem is that few integration testing techniques have been systematically studied or defined. We present a novel approach to generate and execute test cases for object-oriented programs from UML diagrams. We have designed an approach to implement test cases using the concept of coordination contract. A coordination contract, related to the idea of the active association 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 developed to automatically derive the contracts based on the mechanism of test case generation mentioned above.\",\"PeriodicalId\":136227,\"journal\":{\"name\":\"Seventh International Conference on Quality Software (QSIC 2007)\",\"volume\":\"6 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2007-05-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"17\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Seventh International Conference on Quality Software (QSIC 2007)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/QSIC.2007.13\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Seventh International Conference on Quality Software (QSIC 2007)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/QSIC.2007.13","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 17

摘要

面向对象编程具有一些独特的特性,可以促进软件重用和基于组件的开发。然而,仅使用传统技术测试面向对象程序是不可能发现由这些特性引起的错误的。问题是很少有集成测试技术被系统地研究或定义。我们提出了一种从UML图中生成和执行面向对象程序的测试用例的新方法。我们已经设计了一种使用协调契约概念来实现测试用例的方法。与UML中活动关联类的思想相关的协调契约定义了一组对象之间的连接,而不会干扰它们的实现。通过使用契约,测试用例的生成和执行可以自动完成。基于上述测试用例生成机制,已经开发了一个原型工具来自动派生契约。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
An Approach to Integration Testing of Object-Oriented Programs
Object-oriented programming has some unique features which facilitate software reuse and component-based development. However, testing object-oriented programs using only traditional techniques is unlikely to find the faults caused by these features. The problem is that few integration testing techniques have been systematically studied or defined. We present a novel approach to generate and execute test cases for object-oriented programs from UML diagrams. We have designed an approach to implement test cases using the concept of coordination contract. A coordination contract, related to the idea of the active association 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 developed to automatically derive the contracts based on the mechanism of test case generation mentioned above.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信