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

File details

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

File metadata

File hashes

Hashes for robotframework_ghareports-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c3548b8724c6bf9611527e3349bcce03a04cecc560bfd240464148fc032978d
MD5 6e8aa4cc1808ff31f4435f1ee6e1f6d7
BLAKE2b-256 b9d27d3df7a6d7e96d7a0f19189572b6d82316690fed5010c7e85d04753d605a

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