Hi,

I'm trying to contribute to the Maven Shade Plugin by fixing https://issues.apache.org/jira/browse/MSHADE-284, but I'm stuck trying to create/run/debug an integration test (IT).

I have added a couple of skeleton test projects to a new dir *src/it/MSHADE-284_shadeTestJar*, but I don't understand how it hooks into the testing framework... How do I run my IT and write assertions?

I notice that other similar ITs seem to define assertions in a *verify.groovy* file, but I don't know how that works...

 * Is there a way I can run my IT from within IntelliJ, just like I run
   UTs?
 * Alternatively, is there a way I can run my IT from the CLI, similar
   to *mvn surefire:test -Dtest=MyTest*?
 * I found somewhere that I can run ITs with *mvn clean test
   -Prun-its*, but that doesn't seem to run a lot of ITs, e.g. I don't
   find any of the ITs *src/it/MSHADE-** in the test output.

Can someone please provide me a link to get started?

I am a very familiar with Maven, Java development and writing unit tests, but I'm new to contributing to Maven itself.

Thanks,

Reply via email to