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

后端 未结 4 864
长发绾君心
长发绾君心 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 09:50

    1.Navigate to Run in the top menu
    2.select the Run...
    3.when the popup window get open go to the configuration
    4.select test kind as suite
    5.select the location of your xml file in Suite option 
    6.click on run button your testng.xml file will run
    

提交回复
热议问题