>> How can I test my provider?

> You can extend the ScmTestCase class. I don't use the command test
> classes in org.apache.maven.scm.tck.command.*, because they requires a
> test repository model which seems to be under development, because it
> differs between the command test classes.

Yes, the test repository model should be more centralized.
But if you just comply with the javadoc when implementing the
ScmTckTestCase.initRepo() method,
things should be fairly straight forward. The model (ie the initRepo) is the
same for all commands...

> Running the JUnit test from eclipse doesn't work, you must call 'mvn
test'.

I remember that I struggled a bit to set this up but I'm running the JUnit
tests from eclipse.
I think the Maven 2.0 plugin for eclipse did the trick...

Regards
Torbjørn

Reply via email to