Skip to main content

Simple github action summary report for robotframework

Project description

robotframework-ghareports

This project enables robot framework to generate Github Job Summary for a testrun. Its a simple robot framework listener, that once activated when RF is executed, it checks if environment variable GITHUB_STEP_SUMMARY exists and if it does, it exposes test results to a PR - example output looks something like this

Usage

Install:

python -mpip install robotframework-ghareports

Usage:

robot --listener GHAReports .

If you want to limit the width of the tables in the summary, you can provide an argument to the listener like this:

robot --listener GHAReports:35 .

This will split each test case name at every 35 characters into a new line.

And if you want to generate the summary even if a) you are not running in Github or you want to generate extra summary file independent of Github actions, pass report_file argument to the listener like this:

robot --listener GHAReports:report_file=extra_summary.md

or

robot --listener GHAReports:34:extra_summary.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

robotframework_ghareports-0.3.0-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file robotframework_ghareports-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for robotframework_ghareports-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f223b53be0043a6c2b13e8de5d3582eb91b67ef034cd90ca954755cea6ccde3
MD5 36c1ae7f0929dc2a21b71971132feb9e
BLAKE2b-256 843abfc095d1a451d277d0727747df5c63fa781b3c205c0efbac8bc59b7b1925

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page