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

Re: Requiring python sqlite3 module for devs

From: Branko Cibej <brane_at_xbc.nu>
Date: Thu, 01 Oct 2009 05:19:08 +0200

Lieven Govaerts wrote:
> On Wed, Sep 30, 2009 at 2:49 PM, Hyrum K. Wright <hyrum_at_hyrumwright.org> wrote:
>
>> We currently have a couple of tests which conditionally run if the
>> sqlite3 python module is found. As we move more working copy stuff
>> into sqlite, the number of tests that will be needed to be skipped
>> will increase, and the transparency of *why* they need to be skipped
>> will decrease. For this reason, I'd like to propose that we require
>> the python sqlite3 module be installed when running the tests.
>>
>
> On a related topic, I think it's wrong to put tests relying on the
> internals of subversion (white box tests) together with the acceptance
> tests (black box tests).
> Together, or at least, not clearly marked as being dependent on the
> internals of Subversion.
>

You have a good point there; in fact we already have white-box tests, in
the C test suite. There's no real reason why that part should be
strictly C-only though, we could have tests implemented in Python there,
too. Makes for a sensible separation, IMHO.

-- Brane

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2402356
Received on 2009-10-01 05:19:34 CEST

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.