Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 99561

How to run Run only a Single test in Visual Studio Code and Python with output

$
0
0

Does anyone know how to run only one python test with Test Explorer in Visual Studio Code?

I have installed https://marketplace.visualstudio.com/items?itemName=LittleFoxTeam.vscode-python-test-adapter.

I am using pytest.

In the picture below:

enter image description here

If I press "Run Test" then only one test runs, but I do not see any log / output.

To see the output I have to press "Run", but this runs all my tests. This is incredibly frustrating.

I would like to be able to run only the one test with the Visual Studio Code interface and see the log for this run.


Viewing all articles
Browse latest Browse all 99561

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>