C ++ Jenkins QA栈/工具 [英] C++ Jenkins QA Stack / Tools

查看:328
本文介绍了C ++ Jenkins QA栈/工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们目前正在为您的C ++开发建立 QA堆栈

We are currently in the process of building a QA stack for you C++ development.

我们已经有多个 Jenkins 实例运行,并与CI服务器结合其他语言(如java和php)使用非常好的体验。

We already have multiple Jenkins instances running and made very good experiences with the CI server in combination with other languages like java and php.

我要求的是指向工具链

更具体(大括号中的java / php示例):

More specific (java / php examples in braces):

  • A unit testing framework that test and produces coverage reports (jUnit / phpUnit)
  • A coding guidelines checker (checkstyle / phpCodeSniffer)
  • Something PMD that spots potential problems in a code base (pmd / phpmd)
  • More if applicable / needed, but those 3 would be the basics i guess?

一个可接受的答案,我的问题,我被要求提供更多的工具/选项/原因使用Jenkins这个项目。

While i got an acceptable answer to my question I was asked to provide more tools / options / reasons to use Jenkins for this project.

在过去,我使用商业工具在这方面做了次优的体验。 (你想要保存这些报告?然后你需要购买额外的10k Bucks / Year插件,可以为你生成奇特的GRAPHS!)我可能是错在这里,请告诉我,如果我是。

In the past I've made suboptimal experiences with commercial tools in this regard. (What? You want to SAVE! those reports? Then you need to buy the extra 10k Bucks/Year plugin that can generate fancy GRAPHS! for you.) I might be wrong here so please tell me if I am.

但是主要是我正在寻找一个完整的工具集用于Jenkins的C ++开发和QA

推荐答案

我们使用Jenkins与C& C ++。这些是我们使用的工具,我认为你可能会发现有用的。所有这些都可用于Jenkins:

We use Jenkins with C & C++. These are tools that we have used, and I think you may find useful. All of them are usable with Jenkins:


  • 单元测试框架 - cppunit :输出xml,可以使用 cppunit插件直接进入Jenkins

  • 覆盖: gcov + gcovr 可产生良好的覆盖率报告

  • 编码指南检查器:您可以使用 pclint & 警告插件

  • Mess Detector:不确定您在这里的意思是什么,但我们使用 PMD / CPD 代码复制检查和 NSIQ 复杂性和LOC

  • Unit Testing Framework - cppunit : outputs xml which can be fed directly into Jenkins using the cppunit plugin
  • Coverage : gcov + gcovr produces good coverage reports
  • Coding guidelines checker : you can use pclint & the warnings plugin for this.
  • Mess Detector : Not sure what you mean by mess here, but we are using PMD/CPD for code duplication checking and NSIQ for complexity and LOC

我们还使用 cppcheck 进行静态分析。

We also use cppcheck for static analysis.

希望有所帮助!

这篇关于C ++ Jenkins QA栈/工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆