Technology weblog

IT-Essence
Thursday Jun 07, 2007

Unit tests with Maven

Two options you sometimes may want to pass to a Maven execution (but certainly donot want to use too frequently) are:

mvn -Dmaven.test.failure.ignore=true
or (even worse)
mvn -Dmaven.test.skip=true
Whereas the former continues the build even after an error or failure has occurred in one or more unit tests, the latter doesn't even execute them. But repeat after me: thou shalt apply this knowledge with utmost care :)

Comments:

Post a Comment:
Comments are closed for this entry.

Hire us
Archives
Tags
Links
Stats
Referrers