Skip to content

CucuReporter is the application used for cucumber reporting. It generates the html report based on the json report content.

Notifications You must be signed in to change notification settings

frostyaxe/CucuReporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CucuReporter

Description

This spring boot java application is primarily created to read the cucumber json report(s) and create the cucumber report in HTML format. It generates html reports with charts showing the results of cucumber runs. As it is a spring boot application, any user can view the report just by using a URL.

Background

Cucumber is a test automation tool following the principles of Behavioural Driven Design and living documentation. Specifications are written in a concise human readable form and executed in continuous integration.

This project allows you to generate the report in html format and it gets published with the help of spring boot. In order for this to work you must generate a cucumber json report. The project converts the json report into an overview html linking to separate feature files with stats and results.

Download and Install

Just download the java executable file from here.

Usage

  • Download the Jar file from the aforementioned section.
  • Create the YAML file as shown here. Name of the yaml file MUST be cucureporter.yml and it must be present in the same folder where you have downloaded the jar file.
  • Specify the name of the project in cucureporter.yml file in our case, we have specified "frostaxe".
  • In the yaml file, create a list with the key "cucumber". In that you will have to specify path of Cucumber JSON file(s). It is shown in the example yaml file which is present in this GitHub repository.

Command

  • In order to run the application, you will have to run the executable jar file with the below command.
    • java -jar cucureporter-1.0beta.jar

View Cucumber Report

Glimpse of CucuReporter

  • Stats Page CucuReporter Statistics Page

  • For Dark Theme Lovers CucuReporter Dark Theme

  • Feel the power of Charts. Click on the Caption of the Grid to view charts CucuReporter Charts

  • View the Failures details. Click on the "Failures" Tab in the navigation bar. CucuReporter Failures

  • To view the error messages. Click on the failed step. CucuReporter Failures

Author

Note: Suggestions are always welcome. If you feel anything needs to be added to make this application better. Please feel free to drop me an email @ [email protected]

About

CucuReporter is the application used for cucumber reporting. It generates the html report based on the json report content.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published