DevOps / Maven Surefire Plugin Interview Questions
Why might tests pass locally but fail in CI when using Surefire?
The most frequent cause is hidden test-order dependency — tests that quietly rely on shared mutable state happening to run in a favorable sequence locally. A different runOrder, forkCount, or parallelism setting in CI can expose that coupling by running the same tests in a different order or concurrently.
More Related questions...