-
-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug specific test filter not applied on Windows #64
Comments
This is probably related to the quoting of the test name pattern on windows devices: It is quoted and then later passed to the debug config, which quotes the argument againt, thus, on windows, the comandline looks like: For what I tested, the bug can simply be fixed by removing the following: Lines 82 to 84 in dd70a04
|
@a-type does it work now on pre-release version? |
Debug run now states
Perhaps because of the forward slashes in the test file path? It's unclear. I can run
So maybe because they're all skipped? |
It might actually be the |
@a-type thank you for your info. It's weird we need to escape |
My reproduction case still does not work. Attempting to debug an individual test in the example repro does not run anything. This does not appear to be related to
|
Would this issue related to #65 ? The drive name is a capital case, e.g. |
That could be it, yeah. |
FYI, the commit made to address this issue (a6019a4) caused quotes to be set properly when debugging (which uses a VS Code API) but turned off quotes when running (which uses spawn), effectively undoing part of #24. Run commandline: Debug commandline: |
Describe the bug
When trying to debug a specific test block, the debug process just runs all tests in the file on Windows with Yarn.
To Reproduce
Steps to reproduce the behavior on the example project:
yarn install
Expected behavior
When debugging a specific test, I expect to only run that test
Screenshots
If applicable, add screenshots to help explain your problem.
Shown above: "2 + 2" is being debugged, but the debugger has broken inside "1 + 1"
The full output for the debug test run:
Environment
(Paste info.txt content generated by the example project)
(filled manually, the setup script does not work on Windows either)
The text was updated successfully, but these errors were encountered: