A Survey on What Developers Think About Testing

09/03/2023
by   Philipp Straubinger, et al.
0

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.

READ FULL TEXT
research
02/14/2022

Gamekins: Gamifying Software Testing in Jenkins

Developers have to write thorough tests for their software in order to f...
research
08/05/2019

Testability First!

The pivotal role of testing in high-quality software production has driv...
research
03/01/2022

A Survey on How Test Flakiness Affects Developers and What Support They Need To Address It

Non-deterministically passing and failing test cases, so-called flaky te...
research
11/21/2017

Would You Like to Motivate Software Testers? Ask Them How

Context. Considering the importance of software testing to the developme...
research
02/26/2021

On the Naming of Methods: A Survey of Professional Developers

This paper describes the results of a large (+1100 responses) survey of ...
research
12/17/2021

Hashing It Out: A Survey of Programmers' Cannabis Usage, Perception, and Motivation

Cannabis is one of the most common mind-altering substances. It is used ...
research
04/02/2016

The AGI Containment Problem

There is considerable uncertainty about what properties, capabilities an...

Please sign up or login with your details

Forgot password? Click here to reset