Registry / devops / robotframework-metrics

robotframework-metrics

JSON →
library3.7.0pypypi✓ verified 82d ago

Robot Framework Metrics generates custom HTML reports with statistical analysis, trends, and visualizations for Robot Framework test results. Version 3.7.0 is the latest, with releases tied to Robot Framework updates. It is actively maintained with regular bug fixes and feature enhancements.

pip install robotframework-metrics
INSTALL
IMPORT
SIG · ROBOTFRAMEWORK-MET
R
robotframework-metrics
devopspythonv3.7.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Metrics
import robotframework_metrics
from robotframework_metrics import Metrics

Generate an HTML report and optional Excel file from a Robot Framework output.xml file.

from robotframework_metrics import Metrics metrics = Metrics( report='output.xml', output_html='metrics.html', output_xlsx='metrics.xlsx', log_url='http://example.com', background='light', show_charts=True, generate_xlsx=True ) metrics.create_report()
Debug
Known issues
breakingVersion 3.x requires Python 3.7+ and Robot Framework 4.x+. Version 2.x is incompatible.
fix
Ensure Python >= 3.7 and Robot Framework >= 4.0.
affects: >=3.0.0
deprecatedThe `create_report` method is deprecated in favor of `generate_report` starting from version 3.6.0.
fix
Use `metrics.generate_report()` instead of `metrics.create_report()`.
affects: >=3.6.0
gotchaThe `output_xlsx` parameter only generates an Excel file if `generate_xlsx=True` is explicitly set. If omitted, no Excel file is created.
fix
Set `generate_xlsx=True` when providing `output_xlsx` path.
affects: >=3.0.0
Upgrade
Version history
3.7.0latest on PyPI · released Nov 1, 2024
Audit
Dependencies
robotframeworkrequiredCore requirement for parsing Robot Framework output XML
Agent activity
12 hits · last 30 days
node
12
Resources
robotframework-metrics — pip install robotframework-metrics · libregistry