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
You can't set this up with annotations. It must be configured in the XML. You need to set up an XML template. In eclipse it would be windows -> preferences -> testNG Template XML File.
Use an XML file that has all your parallel and usual optins and when you run as testNG it will replace only the section, while maintaining your other settings.