Login  Register

Re: Good reference on time on unit testing?

Posted by csrabak on Feb 27, 2011; 7:24pm
URL: https://forum.world.st/Good-reference-on-time-on-unit-testing-tp3326543p3327046.html

Yes, thus for Bill this mean that for amount of time already expended you need about the same amount for writing tests.  YMMV if the cyclomatic complexity (or similar metric) is higher of lower than 'average' programs.

In a more commercial scenario, you can cite Gartner's Research Note SPA-19-3568 where they put 10 to 15% of total development time for unit testing and 10 to 15% time for system [integration] testing.

These numbers vary a lot, but you can find good references in Software Engineering books or periodicals.

HTH

--
Cesar Rabak


Em 27/02/2011 11:28, Alexandre Bergel < [hidden email] > escreveu:
Robert Martin said in his book that one should spend ~50% of its time writing tests.

Cheers,
Alexandre

On 27 Feb 2011, at 00:52, Schwab,Wilhelm K wrote:

> Hello all,
>
> Can anyone recommend a good reference on the amount of time one should expect to spend writing tests?  I will have to be the messenger (will be wearing running shoes just in case...), but I want the message to come from a solid source.
>
> Bill
>
>
>
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.