Closed PrzemyslawKlys closed 3 years ago
What happens if you remove the pesterExplorer.testRootDirectory
from your settings? You don't need it. It should automatically discover Tests
After removal, everything works correctly. However, you can set Tests from GUI and it breaks again. Something must be wrong with this setting.
This is what happens when I code too fast... I really need to add tests. Anyway, this is fixed in 0.0.14
So I've opened a new project, it asked me to scan things I pressed Always - and then I was greeted with invalid path + cannot debug (I guess I did it before PowerShell loaded)
I already had:
"pesterExplorer.testRootDirectory": "Tests"
, in my config from earlier projects. When I pressed Always"pesterExplorer.autoDiscoverOnOpen": true
this was added which is expected. Weirdly enough Tests path exists.Along with this error it detected some other tests - not sure where from 😂
The error appears on reopening the project again and again