Skip to main content

Converts Cppcheck XML output to JUnit format.

Project description

https://travis-ci.org/johnthagen/cppcheck-junit.svg https://codecov.io/github/johnthagen/cppcheck-junit/coverage.svg https://img.shields.io/pypi/v/cppcheck-junit.svg https://img.shields.io/pypi/status/cppcheck-junit.svg https://img.shields.io/pypi/pyversions/cppcheck-junit.svg https://img.shields.io/pypi/dm/cppcheck-junit.svg

Tool that converts cppcheck XML output to JUnit XML format. Use on your CI servers to get more helpful feedback.

Installation

You can install, upgrade, and uninstall cppcheck-junit with these commands:

$ pip install cppcheck-junit
$ pip install --upgrade cppcheck-junit
$ pip uninstall cppcheck-junit

Usage

Enable XML version 2 output, enable all message, and redirect cppcheck stderr to a file:

$ cppcheck --xml-version=2 --enable=all . 2> cppcheck-result.xml

Convert it to JUnit XML format:

$ cppcheck_junit cppcheck-result.xml cppcheck-junit.xml

Releases

1.0.0 - 2016-02-15

Release 1.0.0. Increase test coverage.

0.2.0 - 2016-01-28

Added severity to JUnit message, improved help description, handle XML parsing errors.

0.1.0 - 2015-11-15

First release.

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

cppcheck-junit-1.0.0.tar.gz (3.5 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