On Thu, Nov 29, 2012 at 3:32 AM, Javier Ortiz <[email protected]> wrote:
> It worked! Thanks a lot. Now trying to figure out how to make the unit test
> work...

Its more like an integration test than a unit test, as your mojo will
need a lot of structure that it just painful to Mock.

Have a look at the maven-it project to see how it is done.
There are about 3 different frameworks when I started this stuff and
one (I dont remember which) became the leader.

You may also want to look at using a mock repository so that it loads
things off disk (and writes your test version into this repo too)
instead of downloading things form the internet or polluting your
local cache.  I'm not sure how well this is documented.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to