[Pharo-project] Good reference on time on unit testing?

Schwab,Wilhelm K bschwab at anest.ufl.edu
Sun Feb 27 20:44:21 CET 2011


Cesar, Alexandre,

Thanks.

Bill



________________________________________
From: pharo-project-bounces at lists.gforge.inria.fr [pharo-project-bounces at lists.gforge.inria.fr] On Behalf Of csrabak at bol.com.br [csrabak at bol.com.br]
Sent: Sunday, February 27, 2011 2:24 PM
To: Pharo-project at lists.gforge.inria.fr
Subject: Re: [Pharo-project] Good reference on time on unit testing?

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 < alexandre.bergel at me.com > 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
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.












More information about the Pharo-project mailing list