DevOps / Maven Surefire Plugin Interview Questions
How do you exclude certain tests only on a specific operating system?
Combine Maven profiles with OS-based activation, for example <activation><os><family>windows</family></os></activation>, and apply a different <excludes> list for Surefire inside that profile. This is common when certain tests only behave reliably on Linux CI agents.
More Related questions...