`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
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.0.3.tar.gz
(5.5 kB
view hashes)