Enhetstestning: Kostnad mot kvalitet
Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Unit testing is a type of testing technique which is becoming quite fashionable to the developers and companies that are in the business of creating and managing software. Alas there are seldom any concrete data to support the positive claims of the authors in unit testing methodology books. These claims are instead based on empirical studies and the experience of the authors. The problem that arises from this situation is that it becomes problematic for managers and also the developers themselves to convince both customers and their own management to use this type of testing as there is no exact return of investment model. This essay examines this problem from two points, the first point is from the literature itself and interviews conducted with a number of developers at a software company located in Umea, Sweden. The second point is to compare the experiences from the developers to actual studies conducted about unit testing. The purpose of this comparison is to try and evaluate if unit testing is a cost effective activity. The results of the study are not conclusive as there are no or too few studies that evaluate unit testing from a total cost perspective. Instead the compared studies are mostly concerned with the fewer errors and error prevention that unit testing brings to the software project. The aspect of software quality and the increased manageability that comes with unit testing seems to have a lower priority in this research field. It’s the researcher’s opinion that a broader view of unit testing can create the solid arguments that the managers and developers need. Although the results are inconclusive certain positive tendencies can be observed, more studies with this broader perspective are required in order to evaluate unit testing from a total cost perspective, not only from an error prevention perspective.
Place, publisher, year, edition, pages
2013. , 28 p.
Informatik Student Paper Bachelor (INFSPB), 2013.29
Information Systems, Social aspects
IdentifiersURN: urn:nbn:se:umu:diva-80848OAI: oai:DiVA.org:umu-80848DiVA: diva2:651674
2013-09-12, 13:15 (Swedish)
Landgren, Göran, Universitetsadjunkt
Ågren, Per-Olof, Universitetslektor