问题
I'd like to use both testNG eclipse plugin and maven surefire plugin together. And I was told here, that I can listen to the output folder "target/surefire-reports"
when running maven test and the testNG plugin view takes the data and displays the results.
But the view doesn't do anything after my "maven test" ends. And after I apply the testNG settings with "output folder", this error appears in eclipse error view
Anyway the output directory is really set to target/surefire-reports
but the testNG view doesn't react on changes in that directory...
回答1:
I just pushed a new version of the Eclipse plug-in which should fix the problem you're seeing.
来源:https://stackoverflow.com/questions/5130579/setting-up-output-directory-of-testng-eclipse-plugin