面向对象程序集成测试的基于状态的适应度函数

Muhammad Bilal Bashir, A. Nadeem
{"title":"面向对象程序集成测试的基于状态的适应度函数","authors":"Muhammad Bilal Bashir, A. Nadeem","doi":"10.1109/ICET.2014.7021011","DOIUrl":null,"url":null,"abstract":"Testing object-oriented program is quite challenging task due to the nature of its features like inheritance and polymorphism. In practice test case generation is the most laborious and resource consuming process in software testing hence generating test data for object-oriented programs is even more challenging and effort demanding. Object-oriented evolutionary testing aims at automating test case generation process using evolutionary strategies like Genetic Algorithm. Evolutionary testing gives a helping hand to the software testers to speed up the process and to reduce the amount of project resources. The existing approaches provide sound platform to the researchers to take the work further to meet the challenges that object-oriented paradigm has introduced. One of the limitations in existing approaches is that they combine branch distance of object's state variables with local variables that leaves no guidance for the search process whether object has gained desired state or not. We propose a state-based fitness function for the evolutionary testing of object-oriented programs that can solve object's state problem by evaluating object's state as an independent segment of overall test case fitness. Our initial experiments show that by separating object's state evaluation, search gets better guidance to prevent object's state problem.","PeriodicalId":325890,"journal":{"name":"2014 International Conference on Emerging Technologies (ICET)","volume":"126 1-2 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"A state-based fitness function for the integration testing of object-oriented programs\",\"authors\":\"Muhammad Bilal Bashir, A. Nadeem\",\"doi\":\"10.1109/ICET.2014.7021011\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Testing object-oriented program is quite challenging task due to the nature of its features like inheritance and polymorphism. In practice test case generation is the most laborious and resource consuming process in software testing hence generating test data for object-oriented programs is even more challenging and effort demanding. Object-oriented evolutionary testing aims at automating test case generation process using evolutionary strategies like Genetic Algorithm. Evolutionary testing gives a helping hand to the software testers to speed up the process and to reduce the amount of project resources. The existing approaches provide sound platform to the researchers to take the work further to meet the challenges that object-oriented paradigm has introduced. One of the limitations in existing approaches is that they combine branch distance of object's state variables with local variables that leaves no guidance for the search process whether object has gained desired state or not. We propose a state-based fitness function for the evolutionary testing of object-oriented programs that can solve object's state problem by evaluating object's state as an independent segment of overall test case fitness. Our initial experiments show that by separating object's state evaluation, search gets better guidance to prevent object's state problem.\",\"PeriodicalId\":325890,\"journal\":{\"name\":\"2014 International Conference on Emerging Technologies (ICET)\",\"volume\":\"126 1-2 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2014-12-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2014 International Conference on Emerging Technologies (ICET)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICET.2014.7021011\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2014 International Conference on Emerging Technologies (ICET)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICET.2014.7021011","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

摘要

由于面向对象程序的特性(如继承和多态性)的性质,测试面向对象程序是一项相当具有挑战性的任务。在实践中,测试用例的生成是软件测试中最费力和消耗资源的过程,因此为面向对象程序生成测试数据更具挑战性和费力性。面向对象的进化测试旨在使用遗传算法等进化策略自动化测试用例生成过程。进化测试为软件测试人员提供了帮助,以加快过程并减少项目资源的数量。现有的方法为研究人员提供了良好的平台,使他们能够进一步开展工作,以应对面向对象范式带来的挑战。现有方法的局限性之一是将对象状态变量的分支距离与局部变量相结合,对搜索过程中对象是否达到期望状态没有指导作用。我们提出了一个基于状态的适应度函数用于面向对象程序的进化测试,该函数通过将对象的状态作为整体测试用例适应度的一个独立部分进行评估来解决对象的状态问题。我们的初步实验表明,通过分离对象的状态评估,搜索得到了更好的指导,防止了对象的状态问题。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
A state-based fitness function for the integration testing of object-oriented programs
Testing object-oriented program is quite challenging task due to the nature of its features like inheritance and polymorphism. In practice test case generation is the most laborious and resource consuming process in software testing hence generating test data for object-oriented programs is even more challenging and effort demanding. Object-oriented evolutionary testing aims at automating test case generation process using evolutionary strategies like Genetic Algorithm. Evolutionary testing gives a helping hand to the software testers to speed up the process and to reduce the amount of project resources. The existing approaches provide sound platform to the researchers to take the work further to meet the challenges that object-oriented paradigm has introduced. One of the limitations in existing approaches is that they combine branch distance of object's state variables with local variables that leaves no guidance for the search process whether object has gained desired state or not. We propose a state-based fitness function for the evolutionary testing of object-oriented programs that can solve object's state problem by evaluating object's state as an independent segment of overall test case fitness. Our initial experiments show that by separating object's state evaluation, search gets better guidance to prevent object's state problem.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术文献互助群
群 号:481959085
Book学术官方微信