jeudi 19 décembre 2019

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

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 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.

Aucun commentaire:

Enregistrer un commentaire