I have a build with .NET core projects that use NUnit as a testing framework, and those tests are reported correctly in TeamCity when all projects have the TeamCity.VSTest.TestAdapter NuGet package dependency in the .csprojfile like such:
<PackageReference Include="TeamCity.VSTest.TestAdapter" Version="1.0.13" />
The tests are run with the command: dotnet test
However, when tests are executed with dotcover with the command dotnet dotcover test @args (excluded the supplied arguments) then no tests are reported in TeamCity. However, TeamCity correctly picks up the coverage.
I have a build with .NET core projects that use NUnit as a testing framework, and those tests are reported correctly in TeamCity when all projects have the TeamCity.VSTest.TestAdapter NuGet package dependency in the .csprojfile like such:
<PackageReference Include="TeamCity.VSTest.TestAdapter" Version="1.0.13" />
The tests are run with the command: dotnet test
However, when tests are executed with dotcover with the command
dotnet dotcover test @args
(excluded the supplied arguments) then no tests are reported in TeamCity. However, TeamCity correctly picks up the coverage.