论文标题
在应用测试驱动开发时,由新手开发人员的情感反应进行了重复的实验结果
Results from a replicated experiment on the affective reactions of novice developers when applying test-driven development
论文作者
论文摘要
测试驱动的开发(TDD)是软件开发的增量方法。尽管据称它可以提高软件的质量和开发人员的生产率,但迄今为止,对TDD的主张影响的研究表明结果尚无定论。一些研究人员将这些不确定的结果归因于TDD会引起的负面情感状态。因此,先前的(基线)实验研究了(新手)开发人员的情感反应---即,在练习TDD来实施软件时,计算机科学(CS)的29名本科生(CS)的本科生。为了验证基线实验的结果,我们进行了一个复制的实验,研究新手开发人员在应用TDD开发软件时的情感反应。治疗组的开发人员使用TDD执行了开发任务,而对照组的开发人员使用了非TDD方法。为了衡量开发人员的情感反应,我们使用了带有喜好维度的自我评估Manikin仪器。基线和复制实验之间最重要的差异是:(i)参与实验的新手开发人员---三年级的CS中的三年级大学生与两所不同大学的第二年大学生; (ii)它们的数量--- 29 vs. 59。复制实验的结果没有显示新手开发人员的情感反应差异。取而代之的是,基线实验的结果表明,与非TDD方法相比,开发人员似乎更喜欢TDD,并且遵循TDD的开发人员似乎喜欢实施代码少于其他开发人员,而测试代码似乎会使它们变得不太满意。
Test-driven Development (TDD) is an incremental approach to software development. Despite it is claimed to improve both quality of software and developers' productivity, the research on the claimed effects of TDD has so far shown inconclusive results. Some researchers have ascribed these inconclusive results to the negative affective states that TDD would provoke. A previous (baseline) experiment has, therefore, studied the affective reactions of (novice) developers---i.e., 29 third-year undergraduates in Computer Science (CS)---when practicing TDD to implement software. To validate the results of the baseline experiment, we conducted a replicated experiment that studies the affective reactions of novice developers when applying TDD to develop software. Developers in the treatment group carried out a development task using TDD, while those in the control group used a non-TDD approach. To measure the affective reactions of developers, we used the Self-Assessment Manikin instrument complemented with a liking dimension. The most important differences between the baseline and replicated experiments are: (i) the kind of novice developers involved in the experiments---third-year vs. second-year undergraduates in CS from two different universities; and (ii) their number---29 vs. 59. The results of the replicated experiment do not show any difference in the affective reactions of novice developers. Instead, the results of the baseline experiment suggest that developers seem to like TDD less as compared to a non-TDD approach and that developers following TDD seem to like implementing code less than the other developers, while testing code seems to make them less happy.