Loading [a11y]/accessibility-menu.js
Strategies for avoiding text fixture smells during software evolution | IEEE Conference Publication | IEEE Xplore

Strategies for avoiding text fixture smells during software evolution


Abstract:

An important challenge in creating automated tests is how to design test fixtures, i.e., the setup code that initializes the system under test before actual automated tes...Show More

Abstract:

An important challenge in creating automated tests is how to design test fixtures, i.e., the setup code that initializes the system under test before actual automated testing can start. Test designers have to choose between different approaches for the setup, trading off maintenance overhead with slow test execution. Over time, test code quality can erode and test smells can develop, such as the occurrence of overly general fixtures, obscure inline code and dead fields. In this paper, we investigate how fixture-related test smells evolve over time by analyzing several thousand revisions of five open source systems. Our findings indicate that setup management strategies strongly influence the types of test fixture smells that emerge in code, and that several types of fixture smells often emerge at the same time. Based on this information, we recommend important guidelines for setup strategies, and suggest how tool support can be improved to help in both avoiding the emergence of such smells as well as how to refactor code when test smells do appear.
Date of Conference: 18-19 May 2013
Date Added to IEEE Xplore: 10 October 2013
ISBN Information:

ISSN Information:

Conference Location: San Francisco, CA, USA

References

References is not available for this document.