Search code examples
c#visual-studiolive-unit-tests

Visual Studio Live Unit Test and Old Tests


I am using Visual Studio 2019 with Live Unit Testing turned on and everything is working fine until I delete a unit test. Now the old unit test is showing as a build failure (even though it doesn't exist anymore).

How can I clear this?


Solution

  • If you close VS2019 and delete the \.vs\{sln-name}\v16\TestStore folder, and open VS2019 up again, all the old tests in the Live Unit Testing Window are gone.