Generate Characterization Tests for Legacy Code from existing Integration Tests

(Lightning talk, 10 min) [ Slides ]

Author(s): Jonas Follesø (Capgemini)
Session: Testing: New approaches
Session chair: Johannes Brodwall (Steria)
Date: Thursday, 3 June 2010: Main Conference
Time: 13:30-15:00
A characterization test is a means to describe (characterize) the actual behaviour of an existing piece of software, and therefore protect existing behaviour of legacy code against unintended changes via automated testing. In this talk I will share my experience from a project where we automatically generated fast running characterization tests based on existing slow running integration tests. The characterization tests helped us do a major redesign of a core calculation module in an insurance system without breaking existing functionality.

<< Back to the program