Skip to content

btc-fan/selenium-cucumber-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Selenium Cucumber Framework


Project Purpose

This project aims to give an inspiring or sample of automation test framework that uses Selenium and Cucumber with Java as the programming language.

If you want to go back to the current branch, you can select main as the default branch.


Tools and Libraries

This project using 2 main tools, Selenium and Cucumber. On the other hand, I using some of the tools that support this great framework. The complete list of tools, you can see in the pom.xml file.

Requirements

  • Java Development Kit
  • Maven
  • WebDriver, using ChromeDriver

Running Tests

  • Clone the repository from your fork to this directory
  • Open the project using any Java IDE
  • Run the tests with the script below
$ mvn clean install
  • If you want to run the specific test, use the cucumber tags like this
$ mvn clean install -Dcucumber.filter.tags="@REPLACE_WITH_ANY_TAGS_THAT_YOU_WANT"

Test Results

  • Test report automatically generated on target folder after finished the test execution
  • See test report from target/cucumber-reports/advanced-reports/cucumber-html-reports/overview-features.html
  • You can also share your Cucumber Report with another person at https://reports.cucumber.io, just go to src/test/resources/cucumber.properties then change the value to be true
cucumber.publish.enabled=true

References

About

Selenium-cucumber-java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published