[LRUG] Number of tests over time?

Sam Phillips sam at samsworldofno.com
Wed Mar 25 07:34:32 PDT 2015


I've picked just one of ours (we have 30+). This is an API endpoint with no
UI. 3.5 years development, ~19 contributors overall, 3011 specs (of which
some are integration).

One discussion we have occasionally is the merit of removing unit tests
once the initial BDD/TDD is done and replacing with fewer, broader tests.
Like squashing git commits that made sense in the context of a branch but
years later don't mean anything, do small individual tests still give value
when coverage is available from wider specs? We've not deleted any yet
because everything is fast enough - eg the component above builds in 4
minutes.

I'd be interested if anyone else deletes tests later on.

On 25 March 2015 at 14:29, Frederick Cheung <frederick.cheung at gmail.com>
wrote:

> 5 years, something like 9/10 people total (not all of them still left),
> 8500 specs (of which a 100 or so are integration specs). Many more if you
> count the ones that have been deleted when the corresponding functionality
> was canned (we had about 200 more specs a month ago, but I’ve been doing
> some pruning recently)
>
> Fred
>
>
> On 25 March 2015 at 14:22:12, Tim Cowlishaw (tim at timcowlishaw.co.uk)
> wrote:
>
> Hi all,
>
> I was idly wondering earlier on about how our test suites change over the
> life of a project. New features almost definitely mean more tests, but
> refactoring (in my experience) makes some tests redundant, so it's not
> necessarily a monotonic increase over time. Therefore, just to satisfy my
> own curiosity: (1) How long has your project been in development? (2) How
> many people work on it? (3) How many specs / unit tests do you have, and
> (4) How many integration / acceptance tests or cukes do you have?
>
> I'll go first:
>
> I've been working on this project since the beginning of January as the
> sole developer, and I've currently got 434 specs and 55 cucumber scenarios
> (with 204 steps).
>
> (Obviously this is in no way meant to be a scientific survey. Just idly
> wondering how others work)
>
> Cheers!
>
> Tim
>
>  _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> Archives: http://lists.lrug.org/pipermail/chat-lrug.org
> Manage your subscription: http://lists.lrug.org/options.cgi/chat-lrug.org
> List info: http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
>
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> Archives: http://lists.lrug.org/pipermail/chat-lrug.org
> Manage your subscription: http://lists.lrug.org/options.cgi/chat-lrug.org
> List info: http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20150325/bacbe641/attachment-0003.html>


More information about the Chat mailing list