TylerLeonhardt / vscode-pester-test-adapter

MIT License
33 stars 13 forks source link

TestExplorerResults.xml is created in root of projects #23

Open PrzemyslawKlys opened 3 years ago

PrzemyslawKlys commented 3 years ago

When you run tests using your plugin it creates TestExplorerResults.xml in the root of my projects.

image

Not sure I want that there? Maybe some configuration for it, or default to temp?

TylerLeonhardt commented 3 years ago

pesterExplorer.testResultsFilePath is a path relative to your workspace... but you're right it should probably go somewhere in a temp file. ~I can't remember why I did it this way...~ I remember now... it's a limitation of vscode to only watch files in the workspace directory. I'd have to set up a different kind of filesystem watcher to achieve this.

TylerLeonhardt commented 3 years ago

For now, add it to your gitignore

JustinGrote commented 3 years ago

I agree, it's easy enough to gitignore.