Visual Studio doesn’t run XUnit Unit tests from Test Explorer.

This is the case:

  • XUnit tests can be executed through ReSharper Test explorer.
  • XUnit tests cannot be executed on Visual Studio Test explorer.
  • XUnit tests were not discovered on Output window.

How to resolve:
Add xunit.runner.visualstudio through Nuget Package.

All the tests will be discovered through Visual Studio.

Leave a Reply