This is an example Java project utilizing TestNG and Selenium WebDriver. This project implements the Page Object Model in the most basic form. Later I will add more features.
You can run tests from the IDE or from the commandline, with the following command:
gradle clean test
or (In order to specify a specific groups of tests)
gradle clean test -PtestGroups=register
Repository URL: https://github.com/selenium-in-action/example-java-testng-webdriver