When testing meets code review: why and how developers review tests

编码(集合论) 源代码 静态程序分析 程序设计语言 软件测试 测试策略 软件 手动测试 测试用例 代码覆盖率 考试(生物学) 软件错误 软件开发 白盒测试 代码气味 软件检查 验证和确认
作者
Davide Spadini,Maurício Aniche,Margaret-Anne Storey,Magiel Bruntink,Alberto Bacchelli
出处
期刊:International Conference on Software Engineering 卷期号:: 677-687 被引量:26
标识
DOI:10.1145/3180155.3180192
摘要

Automated testing is considered an essential process for ensuring software quality. However, writing and maintaining high-quality test code is challenging and frequently considered of secondary importance. For production code, many open source and industrial software projects employ code review, a well-established software quality practice, but the question remains whether and how code review is also used for ensuring the quality of test code. The aim of this research is to answer this question and to increase our understanding of what developers think and do when it comes to reviewing test code. We conducted both quantitative and qualitative methods to analyze more than 300,000 code reviews, and interviewed 12 developers about how they review test files. This work resulted in an overview of current code reviewing practices, a set of identified obstacles limiting the review of test code, and a set of issues that developers would like to see improved in code review tools. The study reveals that reviewing test files is very different from reviewing production files, and that the navigation within the review itself is one of the main issues developers currently face. Based on our findings, we propose a series of recommendations and suggestions for the design of tools and future research.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
愉快的裘完成签到,获得积分10
刚刚
刚刚
lzy完成签到,获得积分10
1秒前
1秒前
长情咖啡豆完成签到,获得积分10
2秒前
生动初南发布了新的文献求助10
2秒前
2秒前
乐观小之完成签到,获得积分0
2秒前
可爱的函函应助科研启动采纳,获得30
3秒前
3秒前
英姑应助鱻鱼鱻采纳,获得10
4秒前
4秒前
felix发布了新的文献求助10
4秒前
felix发布了新的文献求助10
4秒前
felix发布了新的文献求助10
4秒前
充电宝应助涵泽采纳,获得10
5秒前
我是老大应助鱼鱼鱼采纳,获得10
5秒前
老实新筠发布了新的文献求助10
5秒前
充电宝应助qiongqiong采纳,获得10
5秒前
zhangkui发布了新的文献求助10
6秒前
迷路的小之完成签到,获得积分10
7秒前
7秒前
7秒前
Owen应助ce采纳,获得10
7秒前
8秒前
orixero应助愉快冰海采纳,获得10
8秒前
乐观小之发布了新的文献求助10
8秒前
8秒前
没有名字发布了新的文献求助10
8秒前
8秒前
23完成签到,获得积分10
9秒前
ggjun完成签到,获得积分20
11秒前
piso发布了新的文献求助10
12秒前
刻苦黎云完成签到,获得积分10
12秒前
顾矜应助毛果果采纳,获得10
12秒前
晨凌夜影完成签到,获得积分10
14秒前
Knight发布了新的文献求助10
14秒前
明月松间照完成签到,获得积分10
14秒前
ZY发布了新的文献求助10
16秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The Organometallic Chemistry of the Transition Metals 800
Chemistry and Physics of Carbon Volume 18 800
The Organometallic Chemistry of the Transition Metals 800
The formation of Australian attitudes towards China, 1918-1941 640
Signals, Systems, and Signal Processing 610
全相对论原子结构与含时波包动力学的理论研究--清华大学 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6439870
求助须知:如何正确求助?哪些是违规求助? 8253787
关于积分的说明 17567901
捐赠科研通 5497915
什么是DOI,文献DOI怎么找? 2899469
邀请新用户注册赠送积分活动 1876283
关于科研通互助平台的介绍 1716657