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

Re: python bindings test cases

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2006-06-05 16:27:23 CEST

Madan U Sreenivasan wrote:
> - There are some existing test cases in
> subversion/bindings/swig/python/tests/. But, these are not comprehensive
> (IMHO), and more importantly use imports from trac modules. Is there some
> specific purpose for making the tests dependant on trac?

We are using Trac's python bindings test suite.

> - The tests only test on file:// based urls. I think we should have tests
> like our existing cmdline tests, that can be run selectively on file://,
> http:// and svn://

Our python bindings are a test of the bindings themselves, not of the C code
behind the bindings. I think it is sufficient to only perform file://
testing in the bindings tests because that will exercise the Python-to-C
translation code in exactly the same way testing over the other RA layers would.

> - Given the above two points, I think we should be rewriting the tests.

And given my two responses, I think you're quite wrong. :-)

C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Mon Jun 5 16:28:53 2006

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