On the Relation Between Unit Testing and Code Quality

04/05/2019
by   Lucas Gren, et al.
0

Unit testing has been considered as having a key role in building high quality software, and therefore it has been widely used in practice. However, data on the relationship between unit testing and aspects of software quality remain scarce. A survey study with 235 survey responses from seven organizations was conducted in order to understand the correlation between practitioners' perception of code quality and unit testing practices. In addition, we conducted a case study in one of these organizations to investigate the correlation between unit test coverage and post-unit test defects. In both cases none or weak correlations were found. We recommend further research on the effectiveness of different testing practices in order to help practitioners to understand how to best allocate their resources to the testing chain.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/19/2018

How do Developers Test Android Applications?

Enabling fully automated testing of mobile applications has recently bec...
research
11/01/2020

How Testable is Business Software?

Most businesses rely on a significant stack of software to perform their...
research
08/07/2021

Design, Monitoring, and Testing of Microservices Systems: The Practitioners' Perspective

Context: Microservices Architecture (MSA) has received significant atten...
research
11/02/2020

Reframing the Test Pyramid for Digitally Transformed Organizations

The test pyramid is a conceptual model that describes how quality checks...
research
08/28/2018

Is Unit Testing Immune to Coincidental Correctness?

Researchers have previously shown that Coincidental Correctness (CC) is ...
research
08/28/2018

Does the Testing Level affect the Prevalence of Coincidental Correctness?

Researchers have previously shown that Coincidental Correctness (CC) is ...
research
09/13/2023

Unveiling the Life Cycle of User Feedback: Best Practices from Software Practitioners

User feedback has grown in importance for organizations to improve softw...

Please sign up or login with your details

Forgot password? Click here to reset