Hello all, Is there a way to configure Maven surefire plugin to lookup TestNG suiteXmlFile as classpath resource?
A use case where this would be useful is if one had interfaces, implementation and test of specific api as separate maven modules, where test module would contain testng xml file with enumerated all interface tests needed to be run to verify implementation - here api implementation module would have to configure surefire plugin to access testng xml file as classpath resource from test module that implementation module has as test scope dependency. Current workaround is to use @Test annotation and its groups attribute but this solution is less powerful then what xml file has to offer. Regards, Stevo.
