Segreating xunit's testadapter .dll from unit test .dll files #2725
-
Hi, I am running into the issue where the solution is documented here. I am doing this in a Release Pipeline, which restricts me to UI, because I am trying to automate test cases from Test Plans. There is a menu to tell Azure DevOps to look for test assemblies in a specific folder, so my goal now is to put my test assemblies in a specific folder and segregate xunit.runner.visualstudio.testadapter.dll from them. I am developing my xUnit tests as a standalone project standing on its own two feet, I created it in Visual Studio and let Visual Studio set up the project for me, I just have to click build and I see the .dll files appear. They are all put together in the same output folder. I looked at my .csproj file generated by Visual Studio: it is very short and nothing in it looks like instructions where to drop the artifacts after they've been built, so it doesn't look like it is defined there and that I can modify it there. Where do I have to look ? Thank you very much, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The naming of the test adapter is not negotiable; it's a requirement of VSTest.
The lack of a feature in Azure Pipelines is something that will have to be taken up with the Pipelines team. |
Beta Was this translation helpful? Give feedback.
The naming of the test adapter is not negotiable; it's a requirement of VSTest.
https://github.com/microsoft/vstest/blob/main/docs/RFCs/0004-Adapter-Extensibility.md#specifying-an-adapter
The lack of a feature in Azure Pipelines is something that will have to be taken up with the Pipelines team.