Sometime ago I came across this post:
And I thought it’d be good to have it in a repo to save you time setting up your own project.
Basically this example project runs JUnit tests in parallel using TestNG.
Tests are grouped by the browser in which they’re going to be executed (have a look at the TestNG XML Suite files in src/test/resources).
As you might have guessed to drive the browsers we use Selenium WebDriver 🙂
And of course you can run your tests locally or remotely using Selenium GRID.
You can find the repo here: https://github.com/kowalcj0/parallel-selenium-with-testng
And here’s a video showing this project in action 🙂