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.
- Java
- Gauge Framework
- JFreeChart
- xChart
- JSON Simple
- Jayway JSONPath
- SMTP
- MailAPI
- TestNG
- Apache Maven
- Windows
- Linux
- Mac OS
- Java
- Automated emails for test execution summary with graphical representations.
- Java
- Maven
On Windows
- 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"
- Install Gauge by executing the following command.
choco install gauge
On MacOS
- Update Homebrew.
brew update
- Install Gauge using Homebrew.
brew install gauge
On Linux
- First, add Gauge’s GPG key with this command.
sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net --recv-keys 023EDB0B
- 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
- Finally, install Gauge using these commands.
sudo apt-get update
sudo apt-get install gauge
- 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
- 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>)
- Clone this gauge project into your computer
- Create your gauge tests (i.e: Gauge Documentation)
- Open "email.properties" file (
<rootDir>\env\email\email.properties
) from notepad - Change the properties and Save it
- Open "piechart.properties" file (
<rootDir>\env\chart\piechart.properties
) from notepad - Change the properties and Save it
- Open "barchart.properties" file (
<rootDir>\env\chart\barchart.properties
) from notepad - Change the properties and Save it
- Double-click on "TestRunner.bat" which is in the root directory
- After the execution is completed, GReporter will push an email to the given audience including the test execution summary
- Open the command prompt
- Navigate to the directory of the project (
cd <project dir>
) - Execute this command
mvn clean install -DskipTests
MaxSoft GReporter is released under MIT License
Copyright 2022 MaxSoft.