PyTest
PyTest copied to clipboard
Is it possible to instantly open panel with output to see tests in progress?
Waiting for tests in background and looking just at status bar is kinda confusing.
That is currently not implemented. What I usually do is that I have a keyboard shortcut set
{ "keys": ["ctrl+'"], "command": "pytest_toggle_panel" }
which will show/hide the output panel. Usually, I think that automatic popping or starring at test runs as the dots fly in to be very distracting. Don't you lose the focus on writing code or thinking about what you just wrote?
When I am running tests I am focused on test. So it is a bit confusing when nothing happens except small progress on status bar. So could be useful for users to have such configurable option
Yeah, sure, if I don't wear my TDD hat, I actually watch these dots as well, that's why I implemented this toggle panel command I just mentioned. I don't remember right now, but don't you need this command anyway to close the panel and return to editing.