Test parallelism with IntelliJ and TestNG

后端 未结 5 1962
深忆病人
深忆病人 2021-02-08 16:12

I\'m attempting to run some TestNG tests in parallel but don\'t have access to a testng.xml as IntelliJ builds it on the fly. I\'ve tried adding parameters such as \'parallel=m

5条回答
  •  醉梦人生
    2021-02-08 16:46

    I managed to get test methods to run in parallel without defining a custom testng.xml for each test by adding "-parallel methods -threadcount 20 -dataproviderthreadcount 20" in the "Test runner params" field of a TestNG run configuration.

提交回复
热议问题