Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chicio/golden-master-testing-characterization-test

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"
https://github.com/chicio/golden-master-testing-characterization-test

agile characterization-tests golden-master tdd

Last synced: 5 days ago
JSON representation

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"

Awesome Lists containing this project

README

        

# Golden Master Testing Characterization Test

[![Build Status](https://travis-ci.org/chicio/Golden-Master-Testing-Characterization-Test.svg?branch=master)](https://travis-ci.org/chicio/Golden-Master-Testing-Characterization-Test)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/chicio/Golden-Master-Testing-Characterization-Test/master/LICENSE.md)

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"](https://www.fabrizioduroni.it/2018/03/20/golden-master-test-characterization-test-legacy-code/ "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](https://www.fabrizioduroni.it/2018/03/20/golden-master-test-characterization-test-legacy-code.html "Golden master testing aka Characterization test: a powerful tool to win your fight against legacy code") to read the post.