pester / vscode-adapter

Run PowerShell Pester Tests with Visual Studio Code
MIT License
58 stars 13 forks source link

Path not found if non-ASCII characters are included. #225

Open azathothx opened 8 months ago

azathothx commented 8 months ago

When I create Sample.Tests.ps1 and place it in a directory, I get an error.

The following error occurs. An error occured running Pester: Cannot find path 'C:\Work\縺サ縺偵⊇縺箪Sample\Tests\' because it does not exist.

image

This actual path is "C:\Work\ほげほげ\Sample\Tests".

VSCode versions, etc. are as follows.

バージョン: 1.84.2 (user setup) コミット: 1a5daa3a0231a0fbba4f14db7ec463cf99d7768e 日付: 2023-11-09T10:51:52.184Z Electron: 25.9.2 ElectronBuildId: 24603566 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Windows_NT x64 10.0.22621

JustinGrote commented 8 months ago

Thanks for reporting! Everything should be UTF8 through and through so I'll see if I can pinpoint this. I don't have an ETA but when I assign the issue to me it means I'm working on it.