-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Fix testing of libraries projects in the vscode #34210
Comments
Running tests in VS is not yet possible. This isn't related to a runtime configuration mismatch but due to how VSTest invokes the testhost. |
I guess we would need to open vscode with some environment variables just like we do for VS? I'm just wondering, I think the best is to just wait for this to land when we move to VSTest with the new features you worked with them. |
@ManickaP do you know if testing dotnet/runtime libraries inside VSCode does already work? I never tried it out myself. |
If you mean via "Test Explorer" then no, that never worked for me. I run tests from command line and if I need to debug them I use this: https://github.com/dotnet/runtime/blob/main/docs/workflow/debugging/libraries/debugging-vscode.md |
Thanks @ManickaP. Unfortunately I don't know what this issue was originally tracking. VSCode doesn't have an in-built test explorer and |
This issue has been marked |
This issue has been automatically marked |
This issue will now be closed since it had been marked |
#34025 fixes the intellisense and gives the option to user to run the an individual test or group of tests
Currently on running the test it just hangs, It could be that coreclr is build in debug mode. It would be nice to have this thing working in vscode. It may also make the debugging easier on linux machine.
cc @ViktorHofer @ericstj @danmosemsft @safern
The text was updated successfully, but these errors were encountered: