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

Provide autorun support with the native testing API #324

Closed
1 task done
rlivings39 opened this issue Jan 20, 2022 · 11 comments
Closed
1 task done

Provide autorun support with the native testing API #324

rlivings39 opened this issue Jan 20, 2022 · 11 comments
Labels
v4.x Expected to be addressed in the next major release

Comments

@rlivings39
Copy link

Checklist

After upgrading the extension to a version using the native testing API, I realized that I lost the ability to auto-run Google test C++ tests. The ...->Enable Autorun menu item is not present and a rebuild does not automatically rerun my tests. So for now, I'm switching back to the legacy extension. Am I missing the capability in the new version? If not, creating this feature request to support it.

@matepek
Copy link
Owner

matepek commented Jan 21, 2022

Yeah, I'm missing that too.
Will take some time.. :/

@matepek matepek added the v4.x Expected to be addressed in the next major release label Jan 21, 2022
@stefanhaller
Copy link
Contributor

Yes, this is my only remaining big feature wish too.

However, the way I understand it, it first needs support from VS Code, see microsoft/vscode#134941. While it might also be possible to implement this purely on the extension's side (by extending the context menu for test items), that's not an ideal solution because there wouldn't be a way to visualize which test(s) have auto-run enabled.

@matepek
Copy link
Owner

matepek commented Jan 21, 2022

Feel free to nudge them on their issue. Let them feel that people care about the feature :)

@H-G-Hristov
Copy link

H-G-Hristov commented Jan 28, 2022

Is this related? Clicking on Refresh in the test panel produces: command 'python.refreshTests' not found

@matepek
Copy link
Owner

matepek commented Feb 1, 2022

Is this related? Clicking on Refresh in the test panel produces: command 'python.refreshTests' not found

It's not. That button is provided by the python test provider.

@matepek
Copy link
Owner

matepek commented Feb 1, 2022

connor4312 added this to the February 2022 milestone 11 days ago

🤞🤞

@matepek
Copy link
Owner

matepek commented Feb 25, 2023

Good news, something is happening in the neighbourhood.
Currently it is scheduled for March.

@Trass3r
Copy link

Trass3r commented Mar 30, 2023

@matepek
Copy link
Owner

matepek commented Mar 31, 2023

Will be released in 4.4.0 in hours..

I'm excited and a bit disappointed.
UI currently does not support selection of a set of tests to run continuously just everything.
API does support it and the extension supports it already too. It's only limited by the vscode UI.
One can request vscode developers for the feature.

Anyhow let's celebrate.. its a big day for us.

@matepek matepek closed this as completed Mar 31, 2023
@Trass3r
Copy link

Trass3r commented Mar 31, 2023

Ok that sounds bad, I wouldn't want to run e.g. long-running integration tests on every change. Though I guess then they shouldn't even be compiled.

I also wonder how it interacts with filtering: microsoft/vscode#173017

@matepek
Copy link
Owner

matepek commented Apr 3, 2023

microsoft/vscode#178973

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v4.x Expected to be addressed in the next major release
Projects
None yet
Development

No branches or pull requests

5 participants