Milligan's Law

February 9, 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

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
Nice post on the development of the new Google button.
Nice post on the development of the new Google button.

http://stopdesign.com/archive/2009/02/04/recreating-the-button.html Please move quickly to the chamberlock...

×

Subscribe to our Newsletter

!
Thank you!
Error - something went wrong!