Showing posts with label xUnit. Show all posts
Showing posts with label xUnit. Show all posts

Wednesday, July 15, 2020

xUnit Tests Not Running in Visual Studio IDE

You may have encountered that Test projects are not running or not showing in the Test Explore pane in visual studio. I also have faced similar issue while creating a new xUnit Test Project for my application. Here are the changes I did to solve the issue. Once installed the following packages, I was able to run the tests in test explore as expected.

  • Microsoft.NET.Test.Sdk
  • Microsoft.TestPlatform.TestHost
  • xunit.runner.visualstudio
  • xunit