[WIP] [MPLUGINTESTING-93] - Prepare documentation / examples for JUnit 5 and Maven 3
starting some documentation activities now and performing testing of the JUnit5 maven-plugin testing capabilities with existing open source maven plugins.
@gnodet I have made a small change in the MojoExtension as I think it's valid to have no configuration for your maven plugin at all. I'll just take the commit away if my understanding here is wrong
This is really interesting.
I'd like to see some changes from https://github.com/apache/maven-plugin-testing/commit/c6ef221ab068ee487e1c535aa2b8925ecc4f0db6 back ported to make the annotations identical (the @Inherited and the changes in InjectMojo).
Maybe also the new @Basedir annotation ?
Hi @gnodet ,
I have been able to to make the Annotations identical (added @Inherited and removed the boolean flag from InjectMojo).
I was also able to backport the @Basedir Annotation and added a unit test for that behaviour.
So what's left open is the stubbing. I made a check and backporting all the stubs seems to be a bigger task. My current opinion is to NOT offer the stubs on maven 3 (which means maven-plugin-testing with stubs is only possible with old JUnit 4 style tests extending the AbstractMojoTestCase). What is your opinion there?
Resolve #192
@aamotharald Same here :)
@gnodet @slachiewicz @aamotharald I have rebased and fix build
I hope we can process it forward
@gnodet @slachiewicz look ok for me .... I would like to process it
I will change PR title as we improve JUnit 5 implementation, documentation will be fixed in next PR
@aamotharald thanks for work