Testing object-oriented software

ACM-SE 33 Pub Date : 1995-03-17 DOI:10.1145/1122018.1122081
Gerald F. Gattis, Thomas J. Cheatham
{"title":"Testing object-oriented software","authors":"Gerald F. Gattis, Thomas J. Cheatham","doi":"10.1145/1122018.1122081","DOIUrl":null,"url":null,"abstract":"Object-oriented (OO) software development is now widely practiced because of its potential for improvement in design and maintenance. Several authors, for example [1], [2], [3], and [4], have addressed the testing of OO systems. None of the researchers claim that testing an OO system is easier than testing a procedural system. In this paper, we report on an experiment that compares four testing techniques for four systems from different application areas. The four testing techniques studied are code inspection, structural testing, functional testing, and state-based testing. Code inspection is an organized code-reading approach that draws strength from collaborative, organized questioning. In functional testing, the tester uses the requirements to design test cases which are then submitted to a running copy of the system. In structural testing, the source code (and its structure) is used to design test cases. State-based testing has been recently defined for OO systems [4]. It looks for errors in the state of the system that occur as the system responds to sequences of messages.Student teams in an elective senior/graduate software testing class, after receiving training, applied each method to one of the systems. The testers were divided into teams of two in such a way as to balance experience and ability. This process defined eight teams which were divided into four test groups, again balancing experience and ability. These four test groups were assigned different sequences for testing the systems. No team used a test method more than once or tested the same system twice.","PeriodicalId":349974,"journal":{"name":"ACM-SE 33","volume":"67 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1995-03-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM-SE 33","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1122018.1122081","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Object-oriented (OO) software development is now widely practiced because of its potential for improvement in design and maintenance. Several authors, for example [1], [2], [3], and [4], have addressed the testing of OO systems. None of the researchers claim that testing an OO system is easier than testing a procedural system. In this paper, we report on an experiment that compares four testing techniques for four systems from different application areas. The four testing techniques studied are code inspection, structural testing, functional testing, and state-based testing. Code inspection is an organized code-reading approach that draws strength from collaborative, organized questioning. In functional testing, the tester uses the requirements to design test cases which are then submitted to a running copy of the system. In structural testing, the source code (and its structure) is used to design test cases. State-based testing has been recently defined for OO systems [4]. It looks for errors in the state of the system that occur as the system responds to sequences of messages.Student teams in an elective senior/graduate software testing class, after receiving training, applied each method to one of the systems. The testers were divided into teams of two in such a way as to balance experience and ability. This process defined eight teams which were divided into four test groups, again balancing experience and ability. These four test groups were assigned different sequences for testing the systems. No team used a test method more than once or tested the same system twice.
测试面向对象软件
面向对象(OO)软件开发由于其在设计和维护方面的改进潜力而得到了广泛的实践。一些作者,例如[1]、[2]、[3]和[4],已经讨论了OO系统的测试。没有一个研究人员声称测试面向对象系统比测试过程系统更容易。在本文中,我们报告了一个实验,比较了来自不同应用领域的四个系统的四种测试技术。所研究的四种测试技术是代码检查、结构测试、功能测试和基于状态的测试。代码检查是一种有组织的代码阅读方法,它从协作、有组织的提问中汲取力量。在功能测试中,测试人员使用需求来设计测试用例,然后将测试用例提交给系统的运行副本。在结构测试中,源代码(及其结构)用于设计测试用例。最近为面向对象系统定义了基于状态的测试[4]。它在系统响应消息序列时查找系统状态中的错误。在一个选修的高年级/研究生软件测试课上,学生团队在接受培训后,将每种方法应用于其中一个系统。为了平衡经验和能力,测试人员被分成两组。这个过程定义了8个团队,分为4个测试组,再次平衡了经验和能力。这四个测试组被分配不同的顺序来测试系统。没有一个团队使用一个测试方法超过一次,或者测试同一个系统两次。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
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学术官方微信