Closed attilalaszlo closed 8 years ago
deprecated. use https://github.com/Microsoft/vsts-agent/blob/master/README.md
Actually it not depends on the vso-agent, I'm using vsts-agent also (on a linux server), but the VSTS server is the one which can not process the result of the xunit file..
Hi @attilalaszlo
Are you still facing this issue on the vsts-agent?
Yes, with the version I'm using now. But that is not the newest one. I will update my vsts-agent to v2.102.1 tomorrow and get back with the answer.
I tried with the latest vsts agent and the sample file you have provided and it worked. Please confirm. Thanks.
I set up a Publish Test Results step in VSTS, and would like te read an XUnit generated result XML. If I have only one collection in my assembly then it's working. But it's not if I have multiple collections. I got:
2016-05-06T06:55:41.261Z: [warning]Failed to publish test result for fileundefined: assemblyNode.collection.attributes is not a function
XUnit spec says collection can be 0..*: https://xunit.github.io/docs/format-xml-v2.html
An XML for repro: