DevPinoy.org
A Filipino Developers Community

>>> First two to make 3 wins! <<<

Unit testing guidelines
If you're looking for some guidelines in writing unit tests, i found roy osherove's compilation to be really helpful.   Refer to his Testing Guidelines tag in his blog for archive.

I am currently following his test naming guideline - Test name should include name of tested method or class.  The said token will be the first word of the test name followed by the requirement and separated by an underscore (e.g. Sum_ExceptionThrownOnNegativeNumberAs2ndParameter).  Useful way to organize test methods.

Posted 09-04-2006 2:16 PM by jokiz
Filed under: , ,

Copyright DevPinoy 2005-2008