Connection between safe refactorings and acceptance test driven development

By: Contributor(s): Material type: ArticleArticleDescription: 1 archivo (624,8 kB)Subject(s): Online resources: Summary: 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.
Star ratings
    Average rating: 0.0 (0 votes)
Holdings
Item type Home library Collection Call number URL Status Date due Barcode
Capítulo de libro Capítulo de libro Biblioteca de la Facultad de Informática Biblioteca digital A0320 (Browse shelf(Opens below)) Link to resource No corresponde

Formato de archivo: PDF. -- Este documento es producción intelectual de la Facultad de Informática - UNLP (Colección BIPA/Biblioteca)

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.

Latin America Transactions, Revista IEEE America Latina 11 ( 5 ) pp.1238-1244.