发布JUNIT XML文件中的附件 [英] Attachments in Publish JUNIT XML File

查看:80
本文介绍了发布JUNIT XML文件中的附件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的构建中有一个步骤,它会生成一个JUNIT XML文件,其中包含每个失败的屏幕截图附件

We have a step in our build that generates a JUNIT XML file with a screenshot attachment for each failure

<testsuite>
<testcase name="Orders End to End" time="105.437" timestamp="2016-08-01T12:29:34+01:00">
<failure message="An Error Occured. Please See Attached Screenshot">Details of Error</failure>
<system-out>[[ATTACHMENT|D:\Selenium\Results\SampleDBApp\ScreenShot\Img1.png]]</system-out>
</testcase>
</testsuite>

在查看构建结果时,我看不到附件。

When looking at the results of a build, I see no attachment.

VSTS是否支持在发布JUNIT结果时使用附件?

Does VSTS Support the use of Attachments when publishing JUNIT results?

干杯

推荐答案

感谢您在这里发帖。

我会请求您浏览以下链接,这些链接可以帮助您解决问题。

I would request you to go through the below links which may help you resolve your issue.

https://github.com/Microsoft/vsts-tasks/issues/2058

https://marazt.wordpress.com/2015/12/19/visual-studio-team-services-custom- build-test-results-2 /

https://开头fluentbytes.com/execute-and-publish-xunit-tests-results-with-net-core-and-vsts/

希望有所帮助!

问候,

免责声明:

此回复包含对第三方万维网站点的引用。 Microsoft提供此信息是为了方便您。 Microsoft不控制这些网站,也未测试在这些网站上找到的任何软件或信息;因此,
Microsoft不能就其中发现的任何软件或信息的质量,安全性或适用性做出任何陈述。使用互联网上的任何软件都存在固有的危险,并且Microsoft提醒您在从互联网上检索任何软件之前确保您完全了解风险。 

Disclaimer:
This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet. 





这篇关于发布JUNIT XML文件中的附件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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