testng-eclipse
testng-eclipse copied to clipboard
append '-listener' to testng process if there's any specified in maven-surefire-plugin
there're several ways to specify listeners to hook into testng, some people might be used to specify it in maven-surefire-plugin, example here. for now, when run the tests in Eclipse, people can either specify the listeners in "Pre Defined Listernes" on project property dialog (or, workspace preferences), or even make it as default (aka. globally available to all tests) on workspace preferences. Now that the listeners already in maven-surefire-plugin configuration, we can add a flag to (dis)allow TestNG Eclipse Plugin to parse and append them to runtime testng process.
this similarly can be applied for 'reporter' as well.