在 Hudson CI 中为 CUnit 配置 xUnit
我想在我的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
事实证明,链接中提供的 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.
@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.