Visual Studio Live Unit Test and Old Tests

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.


Actually there is an option in Visual Studio 2019 that allows to "Delete Persisted Data" related to Live Unit Testing if data seems to be corrupted:

Visual Studio 2019: Live Unit Testing - Delete Persisted Data

Note that the mentioned button is inactive if Live Unit Testing is running. Stop Live Unit Testing to make button enabled.