DevOps / Maven Surefire Plugin Interview Questions
How do you keep integration tests separate from unit tests in a Surefire/Failsafe setup?
Name integration test classes differently — typically ending in IT, such as *IT.java or IT*.java. Failsafe picks these up by default while Surefire's default patterns ignore them, giving a clean split without extra configuration on either plugin.
More Related questions...