使用 TeamCity 而不是 TeamBuild 测试影响分析?
我们目前使用 Team Foundation Server Team Build 进行 CI/构建,但正在考虑使用 TeamCity。不过,我们的测试团队有兴趣使用 Team Build 可以提供的测试影响分析。
有人成功从 TeamCity 中获取测试影响分析结果吗?这可能吗?
We currently use Team Foundation Server Team Build for CI/builds but are looking at using TeamCity instead. Our testing team though is interested in using the Test Impact Analysis that Team Build can provide.
Has anybody had success in getting Test Impact Analysis results out of TeamCity? Is this even possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许不是您正在寻找的答案,因为我从未尝试完全按照您的要求进行操作,但我之前已经集成了其他第三方分析输出。
teamcity 的真正伟大之处在于,您可以将任何可以输出到 HTML 的内容显示为它自己的报告选项卡。因此,假设您可以获得 XML+XSLT 或 HTML 报告的结果,您可以显示它。
这是文档
http://confluence.jetbrains.net /display/TCD6/Inclusion+Third-Party+Reports+in+the+Build+Results
如果报告输出采用 XML 格式,那么您可能需要创建一个 XSLT 并将其转换为一部分的构建脚本以获得您满意的 HTML 格式。
还有一些其他方法可以扩展 TeamCity,但 html 报告绝对是最简单的方法之一:
http://confluence.jetbrains.net/display/TCD6/Extending+TeamCity
Perhaps not the answer you are looking for, since I've never tried to do exactly what you are asking, but I have integrated other 3rd-party analysis outputs before.
What is really great about teamcity is that you can display anything that you can output to HTML as it's own report tab. So assuming you can get an XML+XSLT or an HTML report of the results you can display it.
Here is the documentation
http://confluence.jetbrains.net/display/TCD6/Including+Third-Party+Reports+in+the+Build+Results
If the report output is in XML then you will probably need to create an XSLT and convert it as part of your build scripts to get an HTML format you are happy with.
There are a few other ways to extend TeamCity but html reports are definitely one of the easiest:
http://confluence.jetbrains.net/display/TCD6/Extending+TeamCity