Skip to main content

Converts cpplint output to JUnit format.

Project description

https://travis-ci.org/johnthagen/cpplint-junit.svg https://codeclimate.com/github/johnthagen/cpplint-junit/badges/gpa.svg https://codeclimate.com/github/johnthagen/cpplint-junit/badges/issue_count.svg https://codecov.io/github/johnthagen/cpplint-junit/coverage.svg https://img.shields.io/pypi/v/cpplint-junit.svg https://img.shields.io/pypi/status/cpplint-junit.svg https://img.shields.io/pypi/pyversions/cpplint-junit.svg https://img.shields.io/pypi/dm/cpplint-junit.svg

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

Note: The advanced PyPI hosted version of cpplint supports JUnit output format natively and is preferred to this package.

Installation

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

$ pip install cpplint-junit
$ pip install --upgrade cpplint-junit
$ pip uninstall cpplint-junit

Usage

Redirect cpplint stderr to a file:

$ cpplint main.cpp 2> cpplint.txt

Convert it to JUnit XML format:

$ cpplint_junit cpplint.txt cpplint_junit.xml

Releases

1.1.0 - 2016-12-31

Support Python 3.6.

1.0.1 - 2016-03-05

Fix Python 2.7 compatibility by catching more general IOError on file not found.

1.0.0 - 2016-02-15

Release 1.0. Increase test coverage.

0.2.3 - 2015-11-14

Use “error” consistently rather than “failure” to refer to results from cpplint.

0.2.2 - 2015-11-14

Mis-release.

0.2.1 - 2015-10-24

Added console entry point.

0.1.0 - 2015-10-24

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

cpplint-junit-1.1.0.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file cpplint-junit-1.1.0.tar.gz.

File metadata

File hashes

Hashes for cpplint-junit-1.1.0.tar.gz
Algorithm Hash digest
SHA256 fea323eeb49a704e1d1b3ce363699422224b7275e18190bdc0aeff082f437d03
MD5 d0f7478ac2a35a704e55bd9d78e15f82
BLAKE2b-256 94a9f55991f0d1e18309d3b8203ea10ecb5f7d422d5a8276489242602403a3ef

See more details on using hashes here.

Provenance

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