Testability First!

08/05/2019
by   Mohammad Ghafari, et al.
0

The pivotal role of testing in high-quality software production has driven a significant effort in evaluating and assessing testing practices. We explore the state of testing in a large industrial project over an extended period. We study the interplay between bugs in the project and its test cases, and interview developers and stakeholders to uncover reasons underpinning our observations. We realized that testing is not well adopted, and that testability (ie, ease of testing) is low. We found that developers tended to abandon writing tests when they assessed the effort to be high. Frequent changes in requirements and pressure to add new features also hindered developers from writing tests. Regardless of the debates on test first or later, we hypothesize that the underlying reasons for poor test quality are rooted in a lack of attention to testing early in the development of a software component, leading to poor testability of the component. However, testability is usually overlooked in research that studies the impact of testing practices, and should be explicitly taken into account.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/03/2023

A Survey on What Developers Think About Testing

Software is infamous for its poor quality and frequent occurrence of bug...
research
12/15/2021

Nirikshak: An Autonomous Testing Framework

Quality Assurance (QA) is an important part of any product. But even wit...
research
02/14/2022

Gamekins: Gamifying Software Testing in Jenkins

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

Testing Research Software: A Survey

Background: Research software plays an important role in solving real-li...
research
07/10/2020

Not Your Grandfathers Test Set: Reducing Labeling Effort for Testing

Building and maintaining high-quality test sets remains a laborious and ...
research
12/09/2021

A Qualitative Study on the Sources, Impacts, and Mitigation Strategies of Flaky Tests

Test flakiness forms a major testing concern. Flaky tests manifest non-d...
research
07/02/2019

Understanding Flaky Tests: The Developer's Perspective

Flaky tests are software tests that exhibit a seemingly random outcome (...

Please sign up or login with your details

Forgot password? Click here to reset