unit-testing maven plugins

Posted by Don on Stack Overflow See other posts from Stack Overflow or by Don
Published on 2010-05-05T11:46:11Z Indexed on 2010/05/05 11:48 UTC
Read the original article Hit count: 239

Hi,

I'm looking for information about how to write unit tests for Maven plugins. Although there's a page on the Maven site about this topic, there's only one example unit test, which does nothing useful. I also found this wiki page, but it hasn't been updated for more than 4 years, so I'm reluctant to invest any faith in it.

I checked the book "The Definitive Guide to Maven", but it doesn't even mention the subject. I'd like to write my unit tests in either Groovy or Java, and would appreciate any information about how to do this.

Thanks, Don

© Stack Overflow or respective owner

Related posts about maven-plugin

Related posts about maven-2