DevOps / Maven Surefire Plugin Interview Questions
Can Surefire run tests written in Kotlin or Groovy?
Yes. Surefire doesn't inspect source language at all — it only cares about compiled .class files that follow its discovery naming pattern and use a supported test framework. As long as Kotlin or Groovy test sources compile normally into the test output directory, Surefire runs them exactly like Java tests.
More Related questions...