A site devoted mostly to everything related to Information Technology under the sun - among other things.

Thursday, March 15, 2007

Characterization Tests & Legacy Modernization

In the book "Working Effectively with Legacy Code", Michael Feathers discusses "characterization tests" which are unit tests written explicitly for the purpose of capturing the current functionality of the code and record how it operates.

Agitar now supplies an Eclipse plug-in which sends the code to Agitar's servers where dozens of tests per class are generated and shipped back to your desk-top. These tests are designed to pass and as the legacy code is modified, augmented, or re-factored some or all of these tests will fail due to changes that have broken the functionality of the code.

Check out the beta version @ http://www.junitfactory.com/.

No comments:

About Me

My photo
I had been a senior software developer working for HP and GM. I am interested in intelligent and scientific computing. I am passionate about computers as enablers for human imagination. The contents of this site are not in any way, shape, or form endorsed, approved, or otherwise authorized by HP, its subsidiaries, or its officers and shareholders.

Blog Archive