Skip to main content

yamllint to JUnit converter.

Project description

yamllint-junit to JUnit converter Build Status

Installation

via pip:

pip install yamllint-junit

Updating

via pip:

pip install yamllint-junit --upgrade

Usage:

run yamllint-junit and pass yamllint (with -f parsable option) output to it

yamllint -f parsable test.yaml | yamllint-junit -o yamllint-junit.xml

Output

  • If there are any lint errors, JUnit XML will be created specifying the detailed description of each error as reported by yamllint
  • If there are no lint errors, JUnit XML will be created denoting one successful testcase named 'no_yamllint_errors'. This is to maintain compatibility with JUnit parsers such as Bamboo which require that a properly formed JUnit file containing a minimum of one testcase be recorded in order to not fail builds.

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

yamllint-junit-0.10.1.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

yamllint_junit-0.10.1-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

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