跳转到主要内容

将cpplint输出转换为JUnit格式。

项目描述

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

cpplint输出转换为JUnit XML格式的工具。在您的CI服务器上使用它以获取更有用的反馈。

注意:高级PyPI托管版本的cpplint原生支持JUnit输出格式,并建议使用此包。

安装

您可以使用以下命令安装、升级和卸载cpplint-junit

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

用法

cpplintstderr重定向到文件

$ cpplint main.cpp 2> cpplint.txt

将其转换为JUnit XML格式

$ cpplint_junit cpplint.txt cpplint_junit.xml

发布

2.0.1 - 2020-03-29

  • 修复trove分类器。

2.0.0 - 2020-03-29

  • 删除Python 2.7。

1.3.0 - 2019-12-15

  • 删除Python 3.4并支持Python 3.8。

  • 包含许可证文件。

1.2.1 - 2019-10-14

修复源分发中缺失的requirements.txt,导致包无法安装。

1.2.0 - 2018-07-09

删除Python 3.3并支持Python 3.7。

1.1.0 - 2016-12-31

支持Python 3.6。

1.0.1 - 2016-03-05

通过捕获文件未找到时的更一般的IOError来修复Python 2.7兼容性。

1.0.0 - 2016-02-15

发布1.0版。提高测试覆盖率。

0.2.3 - 2015-11-14

统一使用“error”而不是“failure”来引用来自cpplint的结果。

0.2.2 - 2015-11-14

误发布。

0.2.1 - 2015-10-24

添加控制台入口点。

0.1.0 - 2015-10-24

首次发布。

项目详情


下载文件

下载适用于您平台文件的文件。如果您不确定选择哪个,请了解有关 安装包 的更多信息。

源分布

cpplint-junit-2.0.1.tar.gz (4.5 kB 查看哈希值)

上传时间

构建分布

cpplint_junit-2.0.1-py3-none-any.whl (6.1 kB 查看哈希值)

上传时间 Python 3

支持