Version 3 by Peter May
on Oct 18, 2012 09:23.

compared with
Current by Peter May
on Oct 26, 2012 14:07.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (1)

View Page History

Doxygen SHOULD be used to produce documentation for your code.

h2. Unit Tests

Up-to-date unit tests MUST accompany _ALL_ non-trivial code.

If in doubt about the triviality of a method, save time wondering and write a test any way. If you're finding it hard to design or write a test for a particular piece of functionality, it probably means you don't fully understand what you're about to try to implement.

Unit Tests are good because:
* They help reduced bugs in new and existing features.
* Help improve design and facilitate re-factoring.
* Provide working examples for other programmers, and supporting documentation (though you remembered the JavaDoc, right?).
* Help those who may have to work on the code in the future.