Results from a replicated experiment on the affective reactions of novice developers when applying test-driven development

04/16/2020
by   Simone Romano, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/29/2019

An Empirical Assessment on Affective Reactions of Novice Developers when Applying Test-Driven Development

We study whether and in which phase Test-Driven Development (TDD) influe...
research
09/02/2022

How Developers Extract Functions: An Experiment

Creating functions is at the center of writing computer programs. But th...
research
07/20/2023

Empirical Evaluation of a Live Environment for Extract Method Refactoring

Complex software can be hard to read, adapt, and maintain. Refactoring i...
research
05/07/2021

Studying Test-Driven Development and its Retainment Over a Six-month Time Span

In this paper, we investigate the effect of TDD, as compared to a non-TD...
research
09/02/2022

Digital Traces of Brain Drain: Developers during the Russian Invasion of Ukraine

The Russian invasion of Ukraine has sparked renewed interest in the phen...
research
07/09/2018

A Longitudinal Cohort Study on the Retainment of Test-Driven Development

Background: Test-Driven Development (TDD) is an agile software developme...
research
02/13/2023

The Impact of AI on Developer Productivity: Evidence from GitHub Copilot

Generative AI tools hold promise to increase human productivity. This pa...

Please sign up or login with your details

Forgot password? Click here to reset