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

Re: query on writing test scripts

From: Madan U Sreenivasan <madan_at_collab.net>
Date: 2005-02-15 07:40:50 CET

C. Michael Pilato wrote:

>If your test script is meant to be part of Subversion's own test
>suite, take a look at the svntest Python module that comes with
>Subversion, in particular the svntest.run_and_verify_* functions. [...] Even if your test script is *not* meant to be part of Subversion, you
>might consider learning from the svntest module anyway.
Hi Mike,
  Yes, this is for the subversion test suite.....I did look into the
run_and_verify_* functions... it was useful....rather essential to....;-)
  But my question is different....it relates to the logic to be used....
To give a short background,
subversion/tests/clients/cmdline/trans_tests.py says ...
# These have all been fixed, but we want regression tests for them.
# 1. Ben encountered this:
# Create a greek tree, commit a keyword into one file,
# then commit a keyword property (i.e., turn on keywords), then
# try to check out head somewhere else. See seg fault.
  I feel that it would be good to check the contents of the checked out
file, rather than just 'catch'ing a seg-fault.... I wanted others'
opinion on this....
  Pl. let me know what you think.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 15 07:34:39 2005

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.