|
|
About
Exploring Solution Spaces, Keith Ray's blog on Software development and other topics.
Send comments to:
keithray@mac.com
Archives
2003
2004
2005
2006
2007
2008
Subscribe
RSS Exploring Solution Spaces XML
|
|
|
Some Good Unit Testing
Ed Gibbs writes of some code and unit tests he reviewed:
- Clear test names.
- Only 2-4 lines of code for most of the tests.
- Thorough testing of negative conditions like testDuplicateRefundsOnlyCountOnce().
- 99% unit test coverage according to Clover.
[/docs]
permanent link
|
|