It was tricky getting unit tests to work in general, but now that they work, coverage doesn't work at all. Even the tests themselves are uncovered despite passing.
This is .NET Core 3.1 (x86), and I'm trying to use MSTest. It's possible that I'm not referencing MSTest properly. My test project .csproj has these lines to load MSTest:
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" />
<PackageReference Include="MSTest.TestAdapter" Version="2.1.1" />
<PackageReference Include="MSTest.TestFramework" Version="2.1.1" />
I don't have any other package references in the test project. It uses `Sdk="Microsoft.NET.Sdk"` and there are no other lines that are specifically for test projects.
The tests run, but when I use coverage, I get 100% uncovered, even the tests that ran and pass are uncovered.