TestNG with IntelliJ IDEA: How to use the testng.xml file in IntelliJ IDEA 9

后端 未结 4 902
长发绾君心
长发绾君心 2021-01-04 09:33

I\'m able to run TestNG unit tests in IntelliJ and see the pass/fail output in a window; this is without using any testng.xml file. I can also run the tests in

4条回答
  •  自闭症患者
    2021-01-04 10:14

    1.Go to Intellij>Preferences>Plugins>Verify that TestNG-J is enabled. 2.Configure the testNG xml file and provide it as an external source by going to edit configurations and selecting suite and providing the path of the testNG xml you created.

提交回复
热议问题