[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r26803 - in trunk/subversion: libsvn_client tests/cmdline

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2007-09-28 10:35:28 CEST

>> Lieven,
>> Yes I *love* tests that shows detects all the problems in my code well
>> in advance(This is what exactly I feel when I change something in
>> merge-tracking code). But writing a testcase for short lived bugs of
>> this nature would be an overkill.
>>
> Kamesh,
>
> I understand you're not taking two hours to write a full regression test
> to point out a small issue that can be fixed in 2 minutes, that wasn't
> what I asked for btw.
>
> If you're doing TDD and you'd find such an issue, ideally you'd write a
> small unit test (in C), fix the issue and commit both. This would make
> sure that you pointed out the exact issue and fixed it correctly, with
> only a small overhead in time in the short run.
>
> In my reply I was in fact pointing to the scenario that Paul described,
> which looks like a way a user can trigger a path in our code that isn't
> covered by any regression test for now. In my ideal of having at least
> 100% code coverage this scenario seems like a worthy addition for the
> test suite. No? I just want to make sure we don't forget it. Anyway,
> don't worry about it, I'll add a place holder or maybe a full test to
> the test suite this weekend.
>
>

Thanks for the explanation Lieven. Yes the case is not covered by our
testsuite. I stand corrected.

With regards
Kamesh Jayachandran

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 28 10:35:43 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.