/selenium-cucumber-java

Run Selenium with Java, Maven, Cucumber

Primary LanguageJava

Selenium - Java - Maven - Cucumber

Installation

Install Java JDK and Maven and install the required tools

mvn clean install

Donwload latest Chromedriver and place it anywhere in your avaliable path: ehco $PATH

Running Cucumber Tests

Running a feature file

mvn clean test -Dcucumber.options="src/test/java/features/facebook_login.feature"

Running a tag

mvn clean test -Dcucumber.options="src/test/java/features --tags @@facebook_login"

Reporting

  • surefile reports >> target/surefire-reports
  • cucumber reports >> target/cucumber-html-report