通过基于代码混乱的测试选择来支持持续集成

E. Knauss, M. Staron, Wilhelm Meding, Ola Soder, A. Nilsson, Magnus Castell
{"title":"通过基于代码混乱的测试选择来支持持续集成","authors":"E. Knauss, M. Staron, Wilhelm Meding, Ola Soder, A. Nilsson, Magnus Castell","doi":"10.1109/RCOSE.2015.11","DOIUrl":null,"url":null,"abstract":"Continuous integration promises advantages in large-scale software development by enabling software development organizations to deliver new functions faster. However, implementing continuous integration in large software development organizations is challenging because of organizational, social and technical reasons. One of the technical challenges is the ability to rapidly prioritize the test cases which can be executed quickly and trigger the most failures as early as possible. In our research we propose and evaluate a method for selecting a suitable set of functional regression tests on system level. The method is based on analysis of correlations between test-case failures and source code changes and is evaluated by combining semi-structured interviews and workshops with practitioners at Ericsson and Axis Communications in Sweden. The results show that using measures of precision and recall, the test cases can be prioritized. The prioritization leads to finding an optimal test suite to execute before the integration.","PeriodicalId":194076,"journal":{"name":"2015 IEEE/ACM 2nd International Workshop on Rapid Continuous Software Engineering","volume":"209 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-05-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"40","resultStr":"{\"title\":\"Supporting Continuous Integration by Code-Churn Based Test Selection\",\"authors\":\"E. Knauss, M. Staron, Wilhelm Meding, Ola Soder, A. Nilsson, Magnus Castell\",\"doi\":\"10.1109/RCOSE.2015.11\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Continuous integration promises advantages in large-scale software development by enabling software development organizations to deliver new functions faster. However, implementing continuous integration in large software development organizations is challenging because of organizational, social and technical reasons. One of the technical challenges is the ability to rapidly prioritize the test cases which can be executed quickly and trigger the most failures as early as possible. In our research we propose and evaluate a method for selecting a suitable set of functional regression tests on system level. The method is based on analysis of correlations between test-case failures and source code changes and is evaluated by combining semi-structured interviews and workshops with practitioners at Ericsson and Axis Communications in Sweden. The results show that using measures of precision and recall, the test cases can be prioritized. The prioritization leads to finding an optimal test suite to execute before the integration.\",\"PeriodicalId\":194076,\"journal\":{\"name\":\"2015 IEEE/ACM 2nd International Workshop on Rapid Continuous Software Engineering\",\"volume\":\"209 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2015-05-16\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"40\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2015 IEEE/ACM 2nd International Workshop on Rapid Continuous Software Engineering\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/RCOSE.2015.11\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 IEEE/ACM 2nd International Workshop on Rapid Continuous Software Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/RCOSE.2015.11","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 40

摘要

通过使软件开发组织能够更快地交付新功能,持续集成保证了在大规模软件开发中的优势。然而,由于组织、社会和技术原因,在大型软件开发组织中实现持续集成是具有挑战性的。其中一个技术挑战是快速确定测试用例的优先级,这些测试用例可以快速执行,并尽可能早地触发大多数故障。在我们的研究中,我们提出并评估了一种选择合适的系统级功能回归测试集的方法。该方法基于对测试用例失败和源代码更改之间的相关性的分析,并通过结合爱立信和瑞典Axis Communications的从业者的半结构化访谈和研讨会来评估。结果表明,使用精度和召回的度量,可以对测试用例进行优先排序。优先级排序导致在集成之前找到要执行的最佳测试套件。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Supporting Continuous Integration by Code-Churn Based Test Selection
Continuous integration promises advantages in large-scale software development by enabling software development organizations to deliver new functions faster. However, implementing continuous integration in large software development organizations is challenging because of organizational, social and technical reasons. One of the technical challenges is the ability to rapidly prioritize the test cases which can be executed quickly and trigger the most failures as early as possible. In our research we propose and evaluate a method for selecting a suitable set of functional regression tests on system level. The method is based on analysis of correlations between test-case failures and source code changes and is evaluated by combining semi-structured interviews and workshops with practitioners at Ericsson and Axis Communications in Sweden. The results show that using measures of precision and recall, the test cases can be prioritized. The prioritization leads to finding an optimal test suite to execute before the integration.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信