arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.01154cs.SE
收藏

关于开发者对测试看法的调查

A Survey on What Developers Think About Testing

Philipp Straubinger, Gordon Fraser

AI总结:

本调查基于284名开发者的回复,探究开发者对测试的真实态度,发现测试动机受质量追求与个人满足感驱动,但被视为单调任务,建议通过更好认可来改善。

摘要:

软件因其质量低下和频繁出现错误而闻名。虽然毫无疑问,彻底的测试是确保足够质量的恰当答案,但软件的普遍糟糕状态通常表明,开发者可能并不总是像他们应该做的那样深入地参与测试。这一观察与普遍认为开发者就是不喜欢编写测试的信念相符。为了确定这一信念的真实性,我们进行了一项包含21个问题的全面调查,旨在(1)评估开发者当前对测试的参与程度,以及(2)识别影响他们测试倾向的因素;也就是说,他们是否实际上想进行更多测试,但受到工作环境的抑制,或者如果可以选择,他们是否真的宁愿测试得更少。基于284份来自专业软件开发者的回复,我们揭示了积极和消极影响开发者测试动机的原因。值得注意的是,编写更多测试的动机原因不仅包括对软件质量的一般追求,还包括个人满足感。然而,开发者仍然认为测试是单调乏味的,并倾向于优先处理其他任务。从回复中浮现出的一种缓解这些负面因素的方法是,为开发者的测试努力提供更好的认可。

英文摘要:

Software is infamous for its poor quality and frequent occurrence of bugs. While there is no doubt that thorough testing is an appropriate answer to ensure sufficient quality, the poor state of software generally suggests that developers may not always engage as thoroughly with testing as they should. This observation aligns with the prevailing belief that developers simply do not like writing tests. In order to determine the truth of this belief, we conducted a comprehensive survey with 21 questions aimed at (1) assessing developers' current engagement with testing and (2) identifying factors influencing their inclination toward testing; that is, whether they would actually like to test more but are inhibited by their work environment, or whether they would really prefer to test even less if given the choice. Drawing on 284 responses from professional software developers, we uncover reasons that positively and negatively impact developers' motivation to test. Notably, reasons for motivation to write more tests encompass not only a general pursuit of software quality but also personal satisfaction. However, developers nevertheless perceive testing as mundane and tend to prioritize other tasks. One approach emerging from the responses to mitigate these negative factors is by providing better recognition for developers' testing efforts.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑