Donnerstag, 10. Februar 2011

Maven & Testing

Most developers know the Maven Surefire Plugin but just a few know about the possibility to share testcase code. And another few know the support for integration tests.

Maven Failsafe Plugin
is designed for running integration tests

Guide to using attached tests
Many times you may want to reuse the tests that you have created for a project in another. For example if you have written foo-core and it contains test code in the ${basedir}/src/test/java it would be useful to package up those compiled tests in a JAR and deploy them for general reuse.

Keine Kommentare:

Kommentar veröffentlichen