Skip to content

An example java project created for my blog post "Golden master testing aka Characterization test: a powerful tool to win your fight against legacy code"

License

Notifications You must be signed in to change notification settings

chicio/Golden-Master-Testing-Characterization-Test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golden Master Testing Characterization Test

Build Status GitHub license

An example java project created for my blog post "Golden master testing aka Characterization test: a powerful tool to win your fight against legacy code".

Description

The app contains an example of the Golden Master testing technique. Below an article quote:

In computer programming, a characterization test (also known as Golden Master Testing) is a means to describe (characterize) the actual behavior of an existing piece of software, and therefore protect existing behavior of legacy code against unintended changes via automated testing. This term was coined by Michael Feathers...... When creating a characterization test, one must observe what outputs occur for a given set of inputs. Given an observation that the legacy code gives a certain output based on given inputs, then a test can be written that asserts that the output of the legacy code matches the observed result for the given inputs.

Click here to read the post.

About

An example java project created for my blog post "Golden master testing aka Characterization test: a powerful tool to win your fight against legacy code"

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages