You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add shortcut to run the current test (at cursor position) #12218
While writing a new test, the test has to be run multiple times so it would be nice to have a shortcut to run the test we are working on (the one at the position of the cursor).
An alternative is a shortcut to run the last run test.
The extension Test Explorer has this option, but given that the native python extension already provides many shortcuts to run tests, it does not make sense to install another extension just for this feature.
Thank you for the suggestion! We have marked this issue as "needs decision" to make sure we have a conversation about your idea. We plan to leave this feature request open for at least a month to see how many 👍 votes the opening comment gets to help us make our decision.
Activity
karthiknadig commentedon Jun 9, 2020
Thank you for the suggestion! We have marked this issue as "needs decision" to make sure we have a conversation about your idea. We plan to leave this feature request open for at least a month to see how many 👍 votes the opening comment gets to help us make our decision.
luabud commentedon Jul 8, 2020
Related: #11864
We can add a shortcut to execute the "Run test" code lens containing block.
luabud commentedon Jul 29, 2021
This is addressed by #16769. It introduces a "Test: Rerun Last Run" command, which can be bind to a keyboard shortcut 😊