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

Add a way to run a test preset #3151

Closed
quyykk opened this issue Apr 29, 2023 · 7 comments
Closed

Add a way to run a test preset #3151

quyykk opened this issue Apr 29, 2023 · 7 comments
Assignees
Labels
bug a bug in the product Feature: ctest
Projects
Milestone

Comments

@quyykk
Copy link

quyykk commented Apr 29, 2023

Brief Issue Summary

After the test explorer feature, it looks like I can't run a test preset anymore. Clicking on "Run CTest" just opens the test explorer with a list of tests, instead of running the selected test preset like it was before.

I also couldn't find a way to run the selected test preset in any other way.

CMake Tools Diagnostics

No response

Debug Log

No response

Additional Information

No response

@benmcmorran benmcmorran added bug a bug in the product Feature: ctest labels May 2, 2023
@benmcmorran benmcmorran added this to Triage in 1.15 via automation May 2, 2023
@benmcmorran benmcmorran added this to the 1.15 milestone May 2, 2023
@benmcmorran benmcmorran moved this from Triage to To do in 1.15 May 22, 2023
@xisui-MSFT
Copy link
Collaborator

I think clicking the run all tests button (or run test button for a certain folder) after the test explorer opens runs the tests under the currently selected test preset?

@quyykk
Copy link
Author

quyykk commented Jul 28, 2023

after the test explorer opens

So I have to click the button twice? That seems not great (Sorry I can't test it right now)

@xisui-MSFT
Copy link
Collaborator

No, there's a run all button in the test explorer.

@gcampbell-msft
Copy link
Collaborator

@snehara99 I have moved this to the 1.16 release and milestone. It seems that this may be more of a request on the status bar button action to do a direct action rather than open the Test Explorer.

We will triage and assess our course of action in 1.16.

@snehara99
Copy link
Contributor

We are working on a fix for this issue, but in the meantime you should be able to run your test presets using the Project Status View

@snehara99
Copy link
Contributor

Hello @quyykk, if you install the newest version of the pre-release channel, you should now be able to use the Run CTests button like before, bypassing the test explorer. Please try it out and let me know if this solves your issue, thanks!

@snehara99 snehara99 moved this from Triage to Done in 1.16 Aug 14, 2023
@snehara99
Copy link
Contributor

Hello this feature should now be available on the main channel, so I'm going to close this issue as complete. Please create a new issue if you encounter any new problems or if you have other requests. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a bug in the product Feature: ctest
Projects
No open projects
1.16
Done
Development

No branches or pull requests

5 participants