Sciweavers

IFL
2007
Springer

Testing Erlang Refactorings with QuickCheck

14 years 5 months ago
Testing Erlang Refactorings with QuickCheck
Abstract. Refactoring is a technique for improving the design of existing programs without changing their behaviour. Wrangler is a tool built at the University of Kent to support Erlang program refactoring; the Wrangler tool is written in Erlang. In this paper we present the use of a novel testing tool, Quviq QuickCheck, for testing the implementation of Wrangler. QuickCheck is a specificationbased testing tool for Erlang. With QuickCheck, programs are tested by writing properties in a restricted logic, and using the tool these properties are tested in randomly generated test cases. This paper first gives overviews of Wrangler and Quviq QuickCheck, then discusses the various ways in which refactorings can be validated, and finally shows how QuickCheck can be used to test the correctness of refactorings in an efficient way.
Huiqing Li, Simon Thompson
Added 08 Jun 2010
Updated 08 Jun 2010
Type Conference
Year 2007
Where IFL
Authors Huiqing Li, Simon Thompson
Comments (0)