What is the recommended approach for testing m2 plugin Java code?

I would like to be able to write a JUnit test, but need to simulate
the bootstrap process of initializing the various properties to their
defaults, and possibly setting some non-default parameter values, all
before Mojo.execute() is called.

Is there any existing solution for this?  Perhaps a reusable JUnit
TestCase base class that could be extended?

Thanks in advance,
John Fallows.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to