Testability First!

Ghafari, Mohammad; Eggiman, Markus; Nierstrasz, Oscar (19 September 2019). Testability First! In: 2019 ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM). Porto de Galinhas, Brazil. September 19th-20th, 2019. 10.1109/ESEM.2019.8870170

[img] Text
Ghaf19a-TestabilityFirst.pdf - Accepted Version
Restricted to registered users only
Available under License Publisher holds Copyright.

Download (320kB) | Request a copy

Background: The pivotal role of testing in high-quality software production has driven a significant effort in evaluating and assessing testing practices. Aims: We explore the state of testing in a large industrial project over an extended period. Method: We study the interplay between bugs in the project and its test cases, and interview developers and stakeholders to uncover reasons underpinning our observations. Results: We realized that testing is not well adopted, and that testability (i.e., 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. Conclusions: 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.

Item Type:

Conference or Workshop Item (Paper)


08 Faculty of Science > Institute of Computer Science (INF)

UniBE Contributor:

Ghafari, Mohammad, Nierstrasz, Oscar


000 Computer science, knowledge & systems
500 Science > 510 Mathematics




Oscar Nierstrasz

Date Deposited:

14 Feb 2020 15:53

Last Modified:

05 Dec 2022 15:36

Publisher DOI:


ArXiv ID:


Uncontrolled Keywords:

scg-pub snf-asa3 scg19 jb19





Actions (login required)

Edit item Edit item
Provide Feedback