Skip to content

Switching QIR profiles does not refresh test explorer view #2263

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

Open
swernli opened this issue Mar 31, 2025 · 0 comments
Open

Switching QIR profiles does not refresh test explorer view #2263

swernli opened this issue Mar 31, 2025 · 0 comments
Labels
bug Something isn't working needs triage

Comments

@swernli
Copy link
Collaborator

swernli commented Mar 31, 2025

When using a project that has tests compiled for "Unrestricted" (like the chemistry library at https://github.com/microsoft/qsharp/tree/main/library/chemistry), if the QIR profile in the editor is set to Base when openning the first file the tests do no show up (as expected). However, changing the profile to "Unrestricted" won't show the tests, even if the refresh button in the test explorer is hit. Only editing the project to force a document update, closing all the files to the project (so it gets unloaded) or explicitly reloading the window causes the new tests to get picked up.

We should try to treat the change of QIR profile as a document update so that the test explorer updates it's view.

@swernli swernli added bug Something isn't working needs triage labels Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

1 participant