It looks like you can use the "JDK parameters" tab to specify "vm parameters" and then specify the following parameters: -parallel methods -threadcount 2
However, IntelliJ actually creates the XML file and then uses it when starting TestNG. This XML file has parallel = "none" inside it. As a result, the XML configuration wins and you donโt get the parallelization you are looking for.
There seems to be no easy way to customize the contents of this XML file by default, at least in terms of parallelization options. You can just get stuck in creating XML sets yourself.
source share