How to run parallel tests in Geb?

How can I run parallel tests in Geb?

Hello Tim,

You can run parallel test in Geb with the help of testng.xml:

  <test name="Chrome Test">
        <parameter name="browser" value="chrome" />
        <parameter name="version" value="79.0" />
        <parameter name="platform" value="WIN10" />
        <classes>
            <class name="testng.ParallelTest" />
        </classes>
    </test>
 
    <test name="Firefox Test">
        <parameter name="browser" value="firefox" />
        <parameter name="version" value="62.0" />
        <parameter name="platform" value="WIN8" />
        <classes>
            <class name="testng.ParallelTest" />
        </classes>
    </test>