xUnit Tests not discovered in .net standard targeted projects
I'm not sure if this is a bug or expected behavior, but I was trying to write xunit tests compiled against .net standard 1.5 so I could run them against the CLR and .net core, and resharper would not detect them.
When I change the projects target framework to .net core it appears to detect and run the tests just fine though.
Please sign in to leave a comment.
Hello!
Thank you for contacting us.
The correspondent behavior by design by Microsoft and is the same for VS test runner .
You should target specific platform for your test project, either .NET Core or .NET Framework.
Thank you.