Mittwoch, Juli 06, 2016

Change-Detector Tests Considered Harmful

In der Tat.

http://googletesting.blogspot.de/2015/01/testing-on-toilet-change-detector-tests.html

This is a change-detector test—it is a transformation of the same information in the code under test—and it breaks in response to any change to the production code, without verifying correct behavior of either the original or modified production code.