Possible to add JUnit 'Failed' Test Images

2019-09-14 07:20发布

Possible to add JUnit Failed Test Images to TFS?

  1. My TFS Dashboard executes my webdriver test suites
  2. Once all tests have executed within the test suite batches the TFS will then read the outputted JUnit results
  3. When there is a test failure the TFS dashboard will highlight the failed test as illustrated within the image below.
  4. Does anyone know how i can bind 'failed' images to the JUnit report and in turn link the image to a test which fails? enter image description here enter image description here

Thanks for your help

1条回答
够拽才男人
2楼-- · 2019-09-14 07:41

There isn't any way to achieve this feature by default. You have to add a PowerShell task or create your own build task to upload the image to the related test result by calling VSTS Rest API.

查看更多
登录 后发表回答