Wrap your SVN-specific code inside a class, implementing an interface. When testing your main application, stubs / fake / mock / regardless of your SVN class through the interface. This way you can unit test run most of your application.
SVN unit test, . SVN.