Title :
Connection between Safe Refactorings and Acceptance Test Driven Development
Author :
Fontela, Carlos ; Garrido, Austin
Author_Institution :
Fac. de Ing., Univ. de Buenos Aires, Buenos Aires, Argentina
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.
Keywords :
multilayers; source coding; ATDD; acceptance test driven development; coverage analysis; multilayer coverage; multiple layers; safe refactorings; ultimate invariants; Boolean functions; Data structures; Nonhomogeneous media; Programming; Silicon; Software; Testing; Acceptance Test Driven Development; Agile Methods; Behavior Preservation; Coverage; Refactoring; Test Driven Development;
Journal_Title :
Latin America Transactions, IEEE (Revista IEEE America Latina)
DOI :
10.1109/TLA.2013.6684399