Milligan's Law

February 8, 2009 Adam Milligan

I’m not sure a person can name a law after himself, but if I had a law I would want it to be this:

Any non-additive change to non-test code that causes no test failures is a valid change and does not reduce the correctness of the code.

By extension, the first corollary would have to be this:

The full definition of correct behavior of code exists in the tests for that code.

Think about it.

About the Author

Biography

More Content by Adam Milligan
Previous
Making a Case for Cucumber
Making a Case for Cucumber

Pivot Jeff Dean describes the technical and process benefits offered by the functional testing framework Cu...

Next
Agile tips & tricks presentation at RailsConf
Agile tips & tricks presentation at RailsConf

Warning: a bit of Shameless Self-Promotion follows Sitting in more than one session at RailsConf 2008, I n...