Giter Club home page Giter Club logo

bp_jbdd_se's Introduction

A boiler plate to create an automation tool setup.

Java + JUnit + Selenium + Allure + Maven + Cucumber

Features

  • Download the repository and start writing feature files and step definitions
  • This is just a template and customizable according to your project requirement
  • Configured chrome and firefox browser, and it is extendable to other selenium supported browsers
  • Integrated the allure report, so the quality of dashboard/report will be nice

Tech

Dillinger uses a number of open source projects to work properly:

  • Maven - build and project configuration
  • Selenium - An open source UI automation tools
  • Cucumber-JVM: A library to support cucumber with java
  • Allure-Report - To generate html dashboard report
  • Junit - Test runner
  • Java - Programming language for writing test scripts

Installation

This requires Java 8+ to run and Maven

Install the dependencies and devDependencies and start the server.

cd Java_BDD_Maven_Junit_Selneium_boiler_plate
mvn clean install

Configure Tests

Step definitions can be saved at location: /src/test/java/org/steps/page1...
Feature files can be saved at location: /src/test/resources/org/features....

Note:The above paths are for reference and can be saved at your preferred path within the src/test/ folder.

How to execute Tests?

mvn clean test -Dbrowser.type=chrome/firefox -Dbrowser.chrome.path="" browser.firefox.path=""
One need to provide the chromedriver, geckodriver path in as a input when executing it from console
Note: This approach will be changed later

How to view Report?

The target folder will contain default generated reports- json/html
Using Allure:
Install allure from [Allure-Report] and execute the below command:
                 "allure serve /home/path/to/project/target/surefire-reports/"

work is still in progress .....

bp_jbdd_se's People

Contributors

uday160386 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.