-
Notifications
You must be signed in to change notification settings - Fork 14
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
[BUG] Test explorer don't navigate to test #1704
Comments
@jmrpineda : Thanks for sharing those details with us. It looks like source information isn't flowing through correctly somehow. You could enable these diagnostic logs which might help give us a little more clues: https://code.visualstudio.com/docs/csharp/cs-dev-kit-faq#_how-do-i-collect-logs-for-troubleshooting-issues-with-test-explorer . I would also be curious to know if cleaning the solution and rebuilding them to rediscover tests helps workaround this problem in the meanwhile. |
I could not reproduce this issue on my Windows machine, this looks to be specific to macOs |
Not working for me on Windows 11 (Version 10.0.26100 Build 26100) Gutter disappeared, even though enabled in settings. Makes it annoying to navigate to test failures. I tried pre-release and release version and still not working. |
Hi there, @AbhitejJohn
I have other workspace/solution with test, and under this solution works fine Is frustrating I cannot navigate to any tests in my current workspace/solution, about your request to enable logs,
hope this help you/us |
Describe the Issue
The Test Explorer detects unit tests, but if you click on any test—whether it is not tested, tested and okay, or tested and failed—it does not open or navigate to the test in the main panel. Additionally, if you open the contextual menu, the "navigate to" menu item does not appear, making it difficult to work on and fix tests.
It is strange, because, after the last extensions update, works during an undetermined time, after that, even if you downgrade the extension, don't fix the issue, could be a file corruption?
I tried to install from scratch vscode+ c# dev kit, without fix
no errors in extension logs
The code class of the test lost the quick-commands too:
Dev kit:
Test explorer:
Any ideas where could I find more info to solve this issue?
Steps To Reproduce
I cannot find the pattern of the issue,
I create a new solution, with a class library, and a test project, in any moment the test explorer don't navigate to... I restored a previous version that worked and the issue is still present, so, I guess that there is a local file that causes the issue,
Expected Behavior
when you click over a test the test class file should open in the main editor, and the selected test gets the focus
Environment Information
vscode : 1.96.2
c# dev kit: 1.14.14
net 9.0
xunit
macos: 15.2 (24C101)
The text was updated successfully, but these errors were encountered: