`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_LOCATION>
Examples
Convert an output report from cloudformation-guard using the following command(s):
report2junit ./sample-reports/cfn-guard.json
# Or if you want to specify the destination:
report2junit ./sample-reports/cfn-guard.json --destination-file ./sample-reports/cfn-guard-other-destination.xml
Convert an output report from cfn-nag using the following command(s):
report2junit ./sample-reports/cfn-nag.json
# Or if you want to specify the destination:
report2junit ./sample-reports/cfn-nag.json --destination-file ./sample-reports/cfn-nag-other-destination.xml
Combine both the cloudformation-guard and cfn-nag reports into a single output report.
report2junit ./sample-reports/cfn-nag.json ./sample-reports/cfn-guard.json
# Or if you want to specify the destination:
report2junit ./sample-reports/cfn-nag.json ./sample-reports/cfn-guard.json --destination-file ./sample-reports/junit-other.xml
Project details
Release history Release notifications | RSS feed
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.1.0.tar.gz
(7.9 kB
view hashes)