Sometime ago, I came across this post: Parallel WebDriver executions using TestNG .
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
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 on github .
Here’s a video showing this project in action :)