JetBrains / TeamCity.VSTest.TestAdapter

Apache License 2.0
30 stars 14 forks source link

Mutli-targetframework tests are not distinguished by framework in results #44

Open doxxx opened 2 years ago

doxxx commented 2 years ago

I have a test assembly which targets both .NET Framework 4.7.1 and .NET 6 because it tests a library which targets .NET Standard 2.0 and may be used in both .NET 4.7.1 and .NET 6 environments. dotnet test executes the tests twice, once for each framework.

However, the test results don't distinguish the tests by framework. In Teamcity, it shows 2 results for each test, but no information as to whether that was the .NET 4.7.1 or .NET 6 execution of the test. I can only determine which framework is being used if I click Show in Build Log and scroll back up to see which assembly is being tested.