Test Code Reuse from OSS: Current and Future Challenges

S. Makady, R. Walker
{"title":"Test Code Reuse from OSS: Current and Future Challenges","authors":"S. Makady, R. Walker","doi":"10.1145/3178298.3178305","DOIUrl":null,"url":null,"abstract":"We are told of the significant benefits of automated approaches to testing over manual approaches. However, it is unclear what automated testing practices exist, and how efficient or widespread such practices are within open source software. Although some organizations rigorously apply automated testing to their software, this rich pool of test code is not utilized to serve existing source code with poor or no test suites. To investigate how automated testing is performed in practice, we attempted a thorough, large-scale analysis of open source repositories. Alongside this analysis, we propose a novel approach to reuse such existing tests within projects that lack test code, hence leveraging the quality of such projects with minimal developer intervention. While such an analysis seems to be a straightforward task, we report on various practical challenges that hindered applying our proposed approach for tests' reuse. We present the challenges we have addressed so far, and those we expect to appear in the near future, in applying our approach for test reuse with open source projects. We outline potential solutions to the projected future challenges.","PeriodicalId":247467,"journal":{"name":"Proceedings of the 3rd Africa and Middle East Conference on Software Engineering","volume":"97 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-12-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 3rd Africa and Middle East Conference on Software Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3178298.3178305","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

We are told of the significant benefits of automated approaches to testing over manual approaches. However, it is unclear what automated testing practices exist, and how efficient or widespread such practices are within open source software. Although some organizations rigorously apply automated testing to their software, this rich pool of test code is not utilized to serve existing source code with poor or no test suites. To investigate how automated testing is performed in practice, we attempted a thorough, large-scale analysis of open source repositories. Alongside this analysis, we propose a novel approach to reuse such existing tests within projects that lack test code, hence leveraging the quality of such projects with minimal developer intervention. While such an analysis seems to be a straightforward task, we report on various practical challenges that hindered applying our proposed approach for tests' reuse. We present the challenges we have addressed so far, and those we expect to appear in the near future, in applying our approach for test reuse with open source projects. We outline potential solutions to the projected future challenges.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
来自OSS的测试代码重用:当前和未来的挑战
我们被告知自动化测试方法相对于手工方法的显著好处。然而,目前还不清楚存在什么样的自动化测试实践,以及这种实践在开源软件中有多有效或多广泛。尽管一些组织严格地将自动化测试应用到他们的软件中,但是这个丰富的测试代码池并没有被用来服务带有差的或没有测试套件的现有源代码。为了研究自动化测试在实践中是如何执行的,我们尝试对开放源码存储库进行彻底的、大规模的分析。在此分析的基础上,我们提出了一种新的方法,在缺乏测试代码的项目中重用这些现有的测试,从而以最小的开发人员干预来利用这些项目的质量。虽然这样的分析似乎是一项直截了当的任务,但我们报告了阻碍应用我们提出的测试重用方法的各种实际挑战。我们提出了到目前为止我们已经解决的挑战,以及那些我们期望在不久的将来出现的挑战,在开放源码项目中应用我们的方法进行测试重用。我们概述了未来挑战的潜在解决方案。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Implementing an ERP System in an Egyptian Research Center: Lessons from Practice Detecting Design Patterns from Source Code using Static Analysis Techniques The Quest for Fully Smart Autonomous Business Networks in IoT Platforms Towards A Comprehensive Serious Educational Games' Ontology Semantic Technology in Internet of Things Mashup Platforms
×
引用
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