Coder Social home page Coder Social logo

unnatisolanki64 / allure-testng-gradle Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 1.14 MB

This is demo project with TestNG + Selenium + JAVA and reporting tool as Allure.

License: Apache License 2.0

Java 100.00%
java gradle selenium webdriver testng allure-report allure-reporting eclipse gradle-plugin gitactions-workflow allure-framework

allure-testng-gradle's Introduction

Allure Reporting with Gradle + TestNG + Selenium + JAVA

This is demo project with TestNG + Selenium + JAVA and reporting tool as Allure.

Pre-Requisite

  • Java 8 or above
  • Gradle 6.6 or above
  • Eclipse

Installation

Install Allure in Windows

  1. Open Windows PowerShell and install scoop. Refer: https://scoop.sh/
  2. Now Install Allure using : scoop install allure
  3. Allure should get installed. Check Allure version with allure --verion command.

Screenshot 2022-01-10 200147

Execution

  1. Clone this repository.
  2. Go to terminal and run test using : gradle clean test
  3. Go to build directory using cd build and Generate Allure report using : allure generate allure-results --clean -o allure-report
  4. Now Generate result from Allure report using : allure serve allure-results

Result

Using Allure reporting you can generate different reports along with detailed test description and steps in the reporting. Enjoy!

result

Screenshot 2022-01-10 203530

Screenshot 2022-01-10 203558

Report on Git Actions

Using Git actions, We can configure and publish this result on Github pages. Checkout this configuration for workflow.

Result of workflow: https://unnatisolanki64.github.io/allure-testng-gradle

allure-testng-gradle's People

Contributors

unnatisolanki64 avatar

Stargazers

 avatar  avatar

Watchers

 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.