| Testing Testing was the single biggest hurdle I faced. I have tried to provide a complete test
suite that covers all protocols and which can be easily extended. It does differ - somewhat - in
structure from the resolver/repository test suites. Setting up smb, ftp, sftp will undoubtedly be
your biggest headache (it was mine). Here are a few notes about the setup: - the VFS test suite
uses the build/test/repositories area - when setting samba, sftp, etc. the corresponding user
needs both read and write privileges. - the tests assume that the user and password is the same
for all services. - a limited amount of configuration is available by setting the following
properties in the ivy.properties file: * vfs.host * vfs.username * vfs.password * vfs.samba_share
Running the test requires that commons-io and ant.jar are on the classpath. Also, I would
recommend that at some time the tests be converted from straight junit to something which betters
supports functional testing. Although somewhat crude I am using jsystem
(http://jsystemtest.sourceforge.net/) in other projects and am finding it a much better solution
than straight junit. Stephen Nesbitt
|