2 Different ways to skip tests with Maven.
These 2 may appear to be the same, but they perform differently.
- mvn –o clean install -DskipTests - Use this to just avoid “RUNNING” the tests
- mvn –o clean install –Dmaven.test.skip=true – Use this to avoid “BOTH COMPILE & RUNNING” the tests. (skip completely when tests have compilation errors)
These 2 may appear to be the same, but they perform differently.
No comments:
Post a Comment