kondratyev-nv / vscode-python-test-adapter

Python Test Adapter for the VS Code Test Explorer
https://marketplace.visualstudio.com/items?itemName=LittleFoxTeam.vscode-python-test-adapter
MIT License
120 stars 27 forks source link

config to disable showing output window on "Run Test" #245

Open jspreddy opened 3 years ago

jspreddy commented 3 years ago

Is there a config to disable showing the output window on running a test.

Every time I run a test, it pulls up the output window. This is very annoying as I do not need to look it and I have limited screen real-estate. It causes me to loose focus and all other workflow interruptions.

btw I do like the "show log" button, its there for when I need to look at the output.

kondratyev-nv commented 3 years ago

@jspreddy Thank you for the issue! The Output panel is opened when you click on a test, it shouldn't be opened on just running a test. Can you please confirm that you're talking about clicking on a test in Test Explorer UI? If not, can you please share a gif/video to demonstrate the issue or steps to reproduce?

Anyway, to control the panel, Test Explorer UI has a setting - testExplorer.hideEmptyLog. Also, I've opened a PR to decrease output from passing tests. It should help with hiding (or keep hidden) the panel when testExplorer.hideEmptyLog is set to true.