2006-08-23

Unit-Tests als Dokumentation 

So habe ich das noch nicht betrachtet:

The test is not just about writing the code now. It's about documenting the proper behavior of the code for future programmers. Once the test is in the test suite, it's clearly documented that throwing a NullPointerException when the argument is null is the expected and contracted behavior. — Test Everything, No Matter How Simple

This page is powered by Blogger. Isn't yours?

inpcblog durchsuchen

Syndikation
SiteMeter