Ben Collins-Sussman <sussman@collab.net> writes:
> Ben Collins <bcollins@debian.org> writes:
>
> > One question, if I add a node to the greek_tree in the test suite, where
> > besides the decleration in main.py does it need to be added to avoid
> > erroneous failures (or is that it?)?
>
> main.py defines a standard greek_tree, as you saw. This structure is
> immutable. Each test calls main.copy_greek_tree() to get a mutable
> copy.
>
> If you want to add a file to the tree, don't modify the standard
> tree that affects all tests; instead, do it in your particular test.
> A good example is update_tests.py #1. It adds a binary file to the
> tree for experimentation by running 'svn add', then 'svn ci'. Then it
> updates a second working copy to receive the file. Does that work for
> you?
I dunno, sussman. Our testing suite is disappointingly void of tests
for files > svndiff-chunk-size. We might want to incorporate some
differently sized files as part of our regular testing. It seems a
bit unrealistic to do all our testing on files < 80 bytes, dontcha
think? :-)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 25 16:54:20 2002