Good Morning,
I'm working on a multi-module Maven project that has an established suite of JUnit tests executed using the SureFire plugin. The Scala codebase in this project is growing, and with it, the number of Scala unit tests. Someone on my team has added the ScalaTest plugin to the parent POM as a managed plugin and left the SureFire plugin (also managed) unchanged. It appears both the JUnit and Scala unit tests all run, though we can't get any coverage metrics for the Scala tests (though I'm not concerned about that right now).
I have a concern with this configuration. The ScalaTest user guide seems very clear when it says, "To use the ScalaTest Maven plugin, you need to disable SureFire and enable ScalaTest." My co-worker feels this is more a suggestion or an option, while I read that sentence as a requirement.
Could someone clarify this point for us? My concern is that it's a happy coincidence the JUnit tests are running, not because it's a supported feature of the ScalaTest plugin, and that we'll have to revisit this configuration in the future.
Thanks!
Jim Kaib