Reference-Based Testing Technique for Automated Test Generation

Eunha Kim, Seokmoon Ryoo
{"title":"Reference-Based Testing Technique for Automated Test Generation","authors":"Eunha Kim, Seokmoon Ryoo","doi":"10.1109/ICCSA.2010.58","DOIUrl":null,"url":null,"abstract":"Abstract-This paper introduces a technique to generate tests automatically for the legacy code by utilizing existing software assets. Many aspects of the legacy code needs to be tested, such as, classes, methods, interfaces, relations, dependencies, etc. The proposed technique automatically generates tests by examining software packages that use the system under test to be tested. It presents an automatic test method based on searching calls to the APIs being tested in available repositories, ranking the relevance of the mined calls, and using them to generate test cases. It makes three important contributions for the issue. First, it provides an automatic way to build a test skeleton. Second, it finds previously unknown bugs and obviously unused dead codes by achieving high test coverage. Finally, developers confidently make changes to the codes written by someone else.","PeriodicalId":405597,"journal":{"name":"2010 International Conference on Computational Science and Its Applications","volume":"17 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-03-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2010 International Conference on Computational Science and Its Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCSA.2010.58","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Abstract-This paper introduces a technique to generate tests automatically for the legacy code by utilizing existing software assets. Many aspects of the legacy code needs to be tested, such as, classes, methods, interfaces, relations, dependencies, etc. The proposed technique automatically generates tests by examining software packages that use the system under test to be tested. It presents an automatic test method based on searching calls to the APIs being tested in available repositories, ranking the relevance of the mined calls, and using them to generate test cases. It makes three important contributions for the issue. First, it provides an automatic way to build a test skeleton. Second, it finds previously unknown bugs and obviously unused dead codes by achieving high test coverage. Finally, developers confidently make changes to the codes written by someone else.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
自动化测试生成的基于参考的测试技术
摘要:本文介绍了一种利用现有软件资产为遗留代码自动生成测试的技术。遗留代码的许多方面都需要测试,例如,类、方法、接口、关系、依赖项等等。建议的技术通过检查使用待测试系统的软件包来自动生成测试。它提出了一种自动测试方法,该方法基于在可用存储库中搜索对正在测试的api的调用,对挖掘的调用的相关性进行排序,并使用它们生成测试用例。它为这个问题做出了三个重要贡献。首先,它提供了一种自动构建测试框架的方法。其次,它通过实现高测试覆盖率来发现以前未知的bug和明显未使用的死代码。最后,开发人员可以自信地修改其他人编写的代码。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
ID-Based Private Key Update Protocol with Anonymity in Mobile Ad-Hoc Networks NOPFIT: File System Integrity Tool for Virtual Machine Using Multi-byte NOP Injection Bootstrap Analysis of Genetic Networks inferred by the Method Using LPMs Analysis of Micro/mesoscale Sheet Stamping Processes Based on Crystalline Plasticity Model Reference-Based Testing Technique for Automated Test Generation
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1