Skip to content
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

Closed
Anipik opened this issue Mar 27, 2020 · 8 comments
Closed

Fix testing of libraries projects in the vscode #34210

Anipik opened this issue Mar 27, 2020 · 8 comments
Labels
area-Infrastructure-libraries dev-innerloop needs-author-action An issue or pull request that requires more info or actions from the author. no-recent-activity
Milestone

Comments

@Anipik
Copy link
Contributor

Anipik commented Mar 27, 2020

#34025 fixes the intellisense and gives the option to user to run the an individual test or group of tests
Screen Shot 2020-03-27 at 1 46 21 PM

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.
Screen Shot 2020-03-27 at 1 46 36 PM

cc @ViktorHofer @ericstj @danmosemsft @safern

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added area-Infrastructure-libraries untriaged New issue has not been triaged by the area owner labels Mar 27, 2020
@ViktorHofer
Copy link
Member

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.

@safern
Copy link
Member

safern commented Mar 27, 2020

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.

@ericstj ericstj removed the untriaged New issue has not been triaged by the area owner label Apr 17, 2020
@ericstj ericstj added this to the 5.0 milestone Apr 17, 2020
@Anipik Anipik modified the milestones: 5.0.0, Future Jul 9, 2020
@ViktorHofer
Copy link
Member

@ManickaP do you know if testing dotnet/runtime libraries inside VSCode does already work? I never tried it out myself.

@ManickaP
Copy link
Member

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

@ViktorHofer
Copy link
Member

Thanks @ManickaP. Unfortunately I don't know what this issue was originally tracking. VSCode doesn't have an in-built test explorer and dotnet test from the integrated terminal works just fine.

@ViktorHofer ViktorHofer added the needs-author-action An issue or pull request that requires more info or actions from the author. label May 12, 2022
@ghost
Copy link

ghost commented May 12, 2022

This issue has been marked needs-author-action and may be missing some important information.

@ghost
Copy link

ghost commented May 26, 2022

This issue has been automatically marked no-recent-activity because it has not had any activity for 14 days. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will remove no-recent-activity.

@ghost
Copy link

ghost commented Jun 9, 2022

This issue will now be closed since it had been marked no-recent-activity but received no further activity in the past 14 days. It is still possible to reopen or comment on the issue, but please note that the issue will be locked if it remains inactive for another 30 days.

@ghost ghost closed this as completed Jun 9, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jul 9, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure-libraries dev-innerloop needs-author-action An issue or pull request that requires more info or actions from the author. no-recent-activity
Projects
None yet
Development

No branches or pull requests

6 participants