在 Hudson CI 中为 CUnit 配置 xUnit

发布于 2024-10-05 15:15:02 字数 424 浏览 0 评论 0原文

我想在我的 c 项目中使用 Hudson CI,该项目也使用 CUnit。然而我也了解到目前没有支持 CUnit 的插件。所以我在互联网上读到这可能是可以通过在 CUnit 和 JUnit 之间进行转换来使用 xUnit 插件,但使用提供的文件会产生错误。

[xUnit] [ERROR] - The plugin hasn't been performed correctly: Conversion error Error to convert the input XML document

所以我的问题是;有没有人在 hudson 成功运行 CUnit 测试。那么,在这种情况下,怎么办呢?

I want to use Hudson CI for my c-project, which also uses CUnit. However I've also come to understand that there is currently no plugin that supports CUnit. So I read on the internets that this might be possible using the xUnit plugin by translating between CUnit and JUnit, but using the supplied file yields an error.

[xUnit] [ERROR] - The plugin hasn't been performed correctly: Conversion error Error to convert the input XML document

So my question is; has anyone successfully run CUnit tests in hudson. And, in that case, how?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

堇色安年 2024-10-12 15:15:03

事实证明,链接中提供的 xslt 文件存在一些语法错误。纠正这个问题和一些标识符后,效果很好。

As it turns out, there were some syntax errors in the xslt-file provided in the link. After correcting this and some identifiers it worked out well.

感性不性感 2024-10-12 15:15:02

@Nubsis:你有没有机会复制&从列表中粘贴?可下载的文件似乎工作得很好。
如果您发现其中有错误,请告诉我,以便我可以修复它们并将更新版本放在我的博客上,这样其他人就不会遇到与您相同的问题。

@Nubsis: Did you by any chance copy & paste from the listing? The downloadable file seems to work just fine.
If you found errors in it let me know so I can fix them and put an updated version on my blog so others don't run into the same problems you had.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文