views:

104

answers:

2

Hi all

A project I'm working on interacts heavily with Subversion, using svnkit.

Are there any examples on running a mock in-memory svn instance, to help facilitate testing etc?

Cheers

Marty

A: 

you may be intested in mockito, that should work fine with SVNkit

my 0.02$

dfa
+1  A: 

Why don't you just create a simple SVN repository with mock data ? It's just a few commands.

Valentin Rocher
And you could use Runtime.exec(<..>) to execute svnadm within your test class(es)
Andreas_D