Closed sashaostr closed 2 years ago
Thanks for reporting this. We changed -t to -b for TestNG in Runner quite a while back and didn't notice the maven plugin was still using -t.
With pleasure, thank you guys for creating the plugin for us. I committed fix in the pull request.
I am trying to get scalatest maven plugin working with testngxml. in my project testng xml is at /src/test/resources/testng.xml here is what my scala plugin snippet is:
org.scalatest scalatest-maven-plugin ${scalatest-maven-plugin.version} ${project.build.directory}/surefire-reports . test-suite.txt test test testng_smoke.xml
@sashaostr @bvenners The changes seems to be in master branch already, I think we can close this old issue.
testNGConfigFiles parameter goes to the wrong place - it passes to the org.scalatest.tools.Runner to -t param instead -b as said in http://www.scalatest.org/user_guide/using_the_runner#selectingSuitesAndTests. I tried to run the Runner directly changing plugin call to the Runner from -t to -b and it works. Thanks!