You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tool is generating in trx file with partial information, It always fill test method classname and name property as none which leads to incorrect publishing on vsts because these two fields are mandatory field to correctly identify a test method.
Hi @puagarwa , we only use this reporter with TFS 2015 and shows the summary in CI builds just fine.
I think that when defining tests in Mocha, you don't have ClassName. What would you suggest to show there?
Can you send us a test example and its expected output?
Thanks.
@AbhishekSinha-AEP no resolution so far.
As I said in my last comment, it was working fine for older servers.
We're haven't use this package in newer servers or Azure pipelines, so we haven't hit this issue yet.
If you can try manually editing your .trx file until you get the expected result, we can see if it can be considered in the code.
Otherwise, as per the linked issue, Microsoft's recommendation is to generate junit instead of .trx.
The tool is generating in trx file with partial information, It always fill test method classname and name property as none which leads to incorrect publishing on vsts because these two fields are mandatory field to correctly identify a test method.
<TestMethod codeBase="out/test/api.test.js" className="none" name="none"/>
There is issue filed on azure-pipeline repo for this issue here is the link microsoft/azure-pipelines-tasks#10024
The text was updated successfully, but these errors were encountered: