【问题标题】:Hello world with TDD and continuous integration using Eclipse CDT + Jenkins + Maven使用 Eclipse CDT + Jenkins + Maven 进行 TDD 和持续集成的 Hello world
【发布时间】:2013-05-20 16:07:20
【问题描述】:

我正在从 Netbeans 迁移到 Eclipse。我正在寻找一个教程,它将向我展示如何在 Eclipse 中使用以下内容:

  • 马文
  • 詹金斯
  • c89spec这样的C测试框架

我的项目是 C 或 C++,因此任何 CDT 工具(Autotools、CMake 等)都会很有用。

理想情况下,hello world 项目将是一个共享库,每个函数都经过测试(TDD 风格)——因为我的大部分模块都是共享库

【问题讨论】:

    标签: c maven tdd continuous-integration eclipse-cdt


    【解决方案1】:

    当您转向 eclipse 时,您可能已经知道您必须拥有用于 eclipse 的 CDT(C 开发工具包)插件才能用 C 编写代码。

    Maven for Eclipse 被称为 M2E,您可以将其定位在 http://eclipse.org/m2e/ - 如果您熟悉 maven - 在 eclipse 中习惯它相对容易。

    用于测试 - 请参阅本教程:https://github.com/xgsa/cdt-tests-runner/wiki/Tutorial

    这里描述了一个使用 jenkins 的插件:http://ralf.schaeftlein.de/2011/07/15/control-hudson-or-jenkins-from-eclipse-indigo-3-7/

    祝你好运!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-12-19
      • 2016-08-28
      • 1970-01-01
      • 2012-06-22
      • 2020-09-08
      • 1970-01-01
      • 2012-03-15
      • 1970-01-01
      相关资源
      最近更新 更多