profile
viewpoint

Ask questionsRun last executed test

<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. --> Add a command to run last executed test. Whether it failed, or not shouldn't matter.

Currently, I'm using the "Run failed test" command (i've bound it to a hotkey), but I'd really like one that executes the last one. If no tests have run, it could run all of them or do nothing.

Also, when I have the Output Console focused and I run test, it focusses the test view on failure. Whereas I'd like to stay focused on the Output console since that is where the errors are being logged.

microsoft/vscode-python

Answer questions luabud

It'd be nice to add a "Run last executed test" command that would allow for that. If no tests have run, then it'd do nothing.

useful!

Related questions

Auto Scroll in the Jupyter output hot 3
Workspace contains pipfile but pipenv --venv failed hot 2
Can you turn off the Microsoft Python Language Server? hot 2
Unable to debug Python tests (duplicate entries in &#34;env&#34;) hot 2
Jupyter server crashed. Unable to connect. Cannot assign requested address hot 2
Auto Scroll in the Jupyter output hot 2
Unable to run launch targets with newest VS Code Python extension hot 2
Unable to start jupyter python interactive window hot 1
HBox output is not shown correctly in the interactive window hot 1
Debug -> Add Debug Configuration 'Cannot read property openConfigFile' hot 1
VSCode cannot connect to jupyter server; with browser this works fine hot 1
Linux arm64/aarch64 support hot 1
Add setting to disable icon for "Run Python File In Terminal" hot 1
Extension Host keeps crashing hot 1
Activate environment before debugging tests hot 1
Github User Rank List