Closed srivatsn closed 7 years ago
I tried to run the tests via the command line dotnet test tests\foundatio.redis.tests\foundato.redis.tests.csproj
and they ran.. so it appears to be just a VS issue
The tests are not discovered because following dependencies are not present in Foundatio.Redis.Tests
csproj:
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0-*" />
<PackageReference Include="xunit" Version="2.2.0-*" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0-*" />
After adding them, tests show up.
Closing this. Please reopen if you still observe this behavior.
From @niemyjski on February 8, 2017 17:2
Since the latest VS2017 RC3 update I'm unable to discover all of my unit test projects... Just clone (https://github.com/exceptionless/foundatio) and try building different projects / run the Foundatio.Redis tests (they aren't found or listed in the test runner). I haven't tried via the command line
Copied from original issue: dotnet/sdk#839