On Aug 6, 2006, at 5:41 AM, Nicholas Clark wrote:

There is this big hairball of under-tested code. (Nothing new here)
So the question is, which to tackle first - unit tests, or functional tests.

Functional tests - for all the reasons you and others have given.

That said, unit test on existing code will sometimes be worth the cost, especially on code that you are making changes to - it's not a yes/no issue. In general though, I agree that functional tests will give you a better return on investment.

-------------------------------------------------------
Matisse Enzer <[EMAIL PROTECTED]>
http://www.matisse.net/  - http://www.eigenstate.net/



Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to