Open correct position in Pytest Test Log
with a single click on any test
#17371
Labels
area-testing
bug
Issue identified by VS Code Team member as probable bug
needs proposal
Need to make some design decisions
Discussed in #17364
Originally posted by andrmueller September 9, 2021
Hey there!
I really like how you move on with this extension. Especially testing got way better!
The Problem
There is one single thing that slows my developer process down quite a bit:
When clicking on a test that is currently executed or has been executed sometime before in the current VS code window the output of this specific test does not open up automatically. The output to show would be the
Python Test Log
.i.e. with pytest:
What I tried
Using the shortcut:
"testing.showMostRecentOutput"
->"when": "testing.hasAnyResults"
.Sadly this does not open up the
Python Test Log
output, but a terminal with the test run output which IMHO is not readable enough regarding formatting to be used to debug errors in tests.The most recent output looks something like this when using pytest:
The
Python Test Log
output looks way cleaner and it's the actual pytest/unittest output which people are used to.Current circumvention
Testing
panelPython Test Log
channelFeature Request
Testing
panelPytest Test Log
output is openedThe text was updated successfully, but these errors were encountered: