DevOps / Maven Surefire Plugin Interview Questions
What's the difference between skipTests and maven.test.skip?
| skipTests | maven.test.skip |
| Skips test execution only | Skips compilation and execution |
| Compile errors in tests still surface | Compile errors in tests go unnoticed |
Most teams reach for skipTests when they still want confidence that test code compiles, reserving maven.test.skip for quick, throwaway local builds.
More Related questions...