Vinculación entre Refactorizaciones Seguras y Acceptance Test Driven Development (Connection between Safe Refactorings and Acceptance Test Driven Development)

Carlos Fontela (cfontela@fi.uba.ar)1, Alejandra Garrido (garrido@lifia.info.unlp.edu.ar)2


1Universidad de Buenos Aires
2Universidad Nacional de La Plata

This paper appears in: Revista IEEE América Latina

Publication Date: Sept. 2013
Volume: 11,   Issue: 5 
ISSN: 1548-0992


Abstract:
With the advent of improved strategies over Test Driven Development (TDD), like Acceptance TDD (ATDD), several benefits were recognized over the simple use of TDD with unit testing. In this article we propose an additional benefit of ATDD: the use of acceptance tests as ultimate invariants of the behavior that refactorings must preserve. Even when previous works have referred to this advantage of ATDD, the problem that remained unsolved was the lack of a complete and practical method that includes the different layers created by different types of tests. In this article we describe such a method, which uses multiple layers of tests and connects the layers through coverage analysis, in order to allow safe refactoring even when the refactorings break some tests. We also present Multilayer Coverage, an automatic tool for coverage analysis at different layers of tests and its intersection, to assist with the proposed method.

Index Terms:
Test Driven Development, Acceptance Test Driven Development, Refactoring, Behavior Preservation, Coverage, Agile Methods   


Documents that cite this document
This function is not implemented yet.


[PDF Full-Text (393)]