Skip to main content

`report2junit` is a tool that converts various reports into the JUnit format.

Project description

Report 2 JUnit

report2junit is a tool that converts various reports into the JUnit format.

Installation

You can install the report2junit tool by running the following command:

pip install report2junit

Usage

Syntax

The following syntax can be used to convert a report:

report2junit --source-type <TYPE> <SOURCE_LOCATION>

Examples

Convert an output report from cloudformation-guard using the following command(s):

report2junit --source-type cfn-guard ./sample-reports/cfn-guard.json

# Or if you want to specify the destination:
report2junit --source-type cfn-guard ./sample-reports/cfn-guard.json ./sample-reports/cfn-guard-other-destination.xml

Convert an output report from cfn-nag using the following command(s):

report2junit --source-type cfn-nag ./sample-reports/cfn-nag.json

# Or if you want to specify the destination:
report2junit --source-type cfn-nag ./sample-reports/cfn-nag.json ./sample-reports/cfn-nag-other-destination.xml

Project details


Download files

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

Source Distribution

report2junit-0.0.2.tar.gz (5.6 kB view hashes)

Uploaded Source

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