vstest icon indicating copy to clipboard operation
vstest copied to clipboard

Cannot associate a test case anymore

Open JoaoAntunes8210474 opened this issue 6 months ago • 0 comments

Our project used to run xUnit 2 tests and the 'Associate to Test Case' feature has always worked to associate test cases to Azure DevOps.

However, when I updated to xUnit v3 and to Microsoft Testing Platform recently, I discovered that I couldn't associate test cases anymore.

Here's an image of the error:

Image

I can't really show an image of my test explorer due to having client information in it but I tried doing what you see in this image from the official Microsoft Documentation on how to associate a test case (https://learn.microsoft.com/en-us/azure/devops/test/associate-automated-test-with-test-case?view=azure-devops#associate-your-automated-test-in-visual-studio).

Image

Is there anything I'm missing?

Related issues in xUnit's repository (https://github.com/xunit/xunit/issues/3188) made me believe the issue might be related to Microsoft.Testing.Platform and not xUnit v3.

Thank you for your patience and best regards.

JoaoAntunes8210474 avatar Jun 20 '25 15:06 JoaoAntunes8210474