Monday, July 7, 2008

Super Helpful Integration Testing ThingY

Maven plug-in integration testing.



After walking around integration tests for Overview I finally set down and made it happen.

Most helpful integration testing solution I found is called SHITTY http://mojo.codehaus.org/shitty-maven-plugin/.

It is very easy to use.

As sane developer would expect, you'll have to put your integration tests somewhere in src (src/it).

Integration test is:
  • yes you are right, pom.xml,
  • than goals.txt - defining goals to execute,
  • optional setup and validation Groovy scripts.
  • some additional stuff that wasn't needed for me.
You can find sample usage here.

Big thanks to Jason Dillon for creating Super Helpful Integration Testing ThingY.