To easily fix it:
- delete solution file (.sln)
- open command palette in VS Code (Cmd+Shift+P) and run
Developer: Reload Window
- run the tests again from terminal
After a few seconds the tests should appear in the Test Explorer tab :)
My guess why it works is that the new Solution file is generated in the directory where it can access both directories of project and testing.