Heikki,
There are some great site on the web which have more complete answers than
we could probably give. Check www.junit.org. Also try
http://www.xprogramming.com/. Both site offer article and studies which will
be more reliable than an informal poll.
In answer though:
1. I can no longer differentiate between app code and unit tests. If the
tests don't run, the code ain't done.
2. I'm not sure, but I find unit tests tend to drop the number.
3. Unit tests are not fully in place at my company yet--I've been battling
for them for a while.
Also, unit tests not only decrease debugging time, but if written correctly
help you design your application for flexibility and robustness... so their
savings can be spread out over a number of areas.
Cheers,
Nick
-----Original Message-----
From: Heikki Doeleman [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 2:21 AM
To: '[EMAIL PROTECTED]'
Subject: Cost / benefit unit test questionnaire
Hi
please allow me these slightly off-topic questions :
in order to convince management at my company that writing automatic unit
tests is not only cheaper for code maintenance but speeds up the development
effort at -all- project phases, I would appreciate your feedback on the
following questions:
- what percentage of time do you spend writing application code, and writing
unit tests?
- what percentage of time do you spend bug fixing and debugging?
- if unit testing was introduced in your company while you were there,
please tell me something about the effects on delivery time?
And more such infos, would be greatly appreciated.
Thanks,
Heikki Doeleman
[EMAIL PROTECTED]