
Security News
libxml2 Maintainer Ends Embargoed Vulnerability Reports, Citing Unsustainable Burden
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
test-report-processor
Advanced tools
.. image:: https://secure.travis-ci.org/kpn-digital/test_report_processor.svg?branch=master :target: http://travis-ci.org/kpn-digital/test_report_processor?branch=master
.. image:: https://img.shields.io/codecov/c/github/kpn-digital/test_report_processor/master.svg :target: http://codecov.io/github/kpn-digital/test_report_processor?branch=master
.. image:: https://img.shields.io/pypi/v/test_report_processor.svg :target: https://pypi.python.org/pypi/test_report_processor
.. image:: https://readthedocs.org/projects/test_report_processor/badge/?version=latest :target: http://test_report_processor.readthedocs.org/en/latest/?badge=latest
This repository is a JSON parser for test reports. It imports a test report generated by pytest (cucumber JSON file). Then is parses the cucumber JSON to any desired JSON report.
When output to Paessler is selected, the new JSON is send to a paessler sensor through a GET request. The Paessler sensor's are displayed on a Paessler dashboard for DevOps purposes.
When using the test report parser, the required input is a test report JSON file. The output can be any of the mentioned outputs.
Input
Output
Import the package by including the following code::
from test_report_processor.test_report_processor import ReportParser
Start the parser by creating a new ReportParser class:
``report_parser = ReportParser("/path/cucumber.json", "paessler", "duration")``
Creating a new ReportParser class requires 3 parameters:
After creating a ReportParser class, you can view the parsed json with this variable:
``report_parser.paessler_json``
A URL will also be generated which points to the Paessler sensor id where the result will be displayed. View the Paessler URL with this variable:
``report_parser.paessler_url``
FAQs
This package parses a cucumber JSON to a report friendly JSON
We found that test-report-processor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
Research
Security News
Socket investigates hidden protestware in npm packages that blocks user interaction and plays the Ukrainian anthem for Russian-language visitors.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.