You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Philip Martin <ph...@codematters.co.uk> on 2002/06/12 20:44:31 UTC

Re: svn commit: rev 2173 - trunk/subversion/tests/clients/cmdline

Ben Collins-Sussman <su...@collab.net> writes:

> philip@tigris.org writes:
> 
> > -  stdout_lines, stderr_lines = svntest.main.run_svn(None, 'ci', wc_dir)
> > +  stdout_lines, stderr_lines = svntest.main.run_svn(None, 'ci', '-m', 'foo',
> > +                                                    wc_dir)
> 
> 
> I assume that you're not invoking run_and_verify_commit, because,
> well, it's such a pain to set up the 3 trees it needs?  

Yup, particularly for a non-Python programmer.  I spend more time
getting my Python to run than writing the C it's supposed to test.

> 
> I'm just worried about how accurate our tests are, especially "quick"
> ones that circumvent the elaborate API... it scares me when we do
> multiple commits and only check to see that nothing printed to stderr.

My excuse is that this is not a test for commit, it's a preliminary
to a subsequent update test.  In addition I do run_and_verify_status
later (the time I spent trying to work out how to do that singleton
stuff...)

-- 
Philip

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org