Software Testing in Industry — Assessing Unit Testing in an Industrial Software Project

Markus Eggimann. Software Testing in Industry — Assessing Unit Testing in an Industrial Software Project. Bachelor’s thesis, University of Bern, September 2018. Details.

Abstract

Automated testing is an important technique to ensure the quality of a software system, and there is a general consensus in industry that testing is a critical part of the development process. However, recent studies suggest that unit testing is not that widely practiced. In this thesis, we studied an industrial software project called EPOF with respect to testing. We tried to answer the question whether the discovery of bugs pushes the writing of tests, whether unit tests help to prevent bugs, and whether the system’s architecture facilitates or impedes unit testing. To answer those questions, we studied the bug reports and associated bug fix reports of the project. Our results showed that the test coverage was rather low, and most bugs were fixed without adding or changing any tests, most bugs were detected by manual testers or customers and not by the existing tests and that the testability of the code is low in most parts of the system. In 2017, the development team decided to give unit testing higher priority. Our results show that this decision, together with other development process improvements, indeed had a positive effect on the bug rate and the testability of the system.

Posted by scg at 2 September 2018, 4:15 pm link
Last changed by admin on 21 April 2009