Giter Club home page Giter Club logo

maxsoft-greporter's Introduction

MaxSoft GReporter

Introduction

In testing perspective, the test execution report is a vital document where the stakeholders can get an idea of the project health.

Gauge is proving a detailed test execution report with all the error messages and the screenshots incorporated to the failing steps.

But anyhow, QA should manually send the test execution report to the stakeholders by mentioning the number of scenarios executed, passed count, failed count and skipped count. Also in a regression cycle, QA has to send those counts as module wise figures. Further, QA needs to embed pie charts and bar charts to that report to represents the test execution data in a high readable manner.

MaxSoft GReporter is an automated solution for this issue. It acts as a Java plugin for gauge to send the test execution summary to a defined audience.

Technologies/Frameworks used

  • Java
  • Gauge Framework
  • JFreeChart
  • xChart
  • JSON Simple
  • Jayway JSONPath
  • SMTP
  • MailAPI
  • TestNG
  • Apache Maven

Supported Platforms

  • Windows
  • Linux
  • Mac OS

Supported Languages

  • Java

Advantages

  • Automated emails for test execution summary with graphical representations.

Pre Requisites

  1. Java
  2. Maven

How to Install Gauge Core

On Windows

  1. Install Chocolatey by executing the following command.

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

  1. Install Gauge by executing the following command.

choco install gauge

On MacOS

  1. Update Homebrew.

brew update

  1. Install Gauge using Homebrew.

brew install gauge

On Linux

  1. First, add Gauge’s GPG key with this command.

sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net --recv-keys 023EDB0B

  1. Then add Gauge to the repository list using this command.

echo deb https://dl.bintray.com/gauge/gauge-deb nightly main | sudo tee -a /etc/apt/sources.list

  1. Finally, install Gauge using these commands.

sudo apt-get update sudo apt-get install gauge

How to Install Gauge Plugins

  1. Open Command Prompt and execute following commands.

gauge install java

gauge install html-report

gauge install json-report

gauge install xml-report

gauge install spectacle

gauge install flash

  1. You can check the installation using the following command.

gauge -v

If the installation is success, it will output like this:
    Gauge version: <version number>
    Plugins
    -------
    flash (<version number>)
    html-report (<version number>)
    java (<version number>)
    json-report (<version number>)
    spectacle (<version number>)
    xml-report (<version number>)

MaxSoft GReporter Tutorials

How to use MaxSoft GReporter?

  1. Clone this gauge project into your computer
  2. Create your gauge tests (i.e: Gauge Documentation)
  3. Open "email.properties" file (<rootDir>\env\email\email.properties) from notepad
  4. Change the properties and Save it
  5. Open "piechart.properties" file (<rootDir>\env\chart\piechart.properties) from notepad
  6. Change the properties and Save it
  7. Open "barchart.properties" file (<rootDir>\env\chart\barchart.properties) from notepad
  8. Change the properties and Save it
  9. Double-click on "TestRunner.bat" which is in the root directory
  10. After the execution is completed, GReporter will push an email to the given audience including the test execution summary GReporter v1.0.3

How to build MaxSoft GReporter JAR File?

  1. Open the command prompt
  2. Navigate to the directory of the project (cd <project dir>)
  3. Execute this command mvn clean install -DskipTests

License

MIT License MaxSoft GReporter is released under MIT License

Copyright

Copyright 2022 MaxSoft.

maxsoft-greporter's People

Contributors

osandadeshan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

gouserabbani44

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.