Testing - Test View for Python pytest
#17040
Labels
testplan-item
Test plan item/assignments for upcoming release
Milestone
pytest
#17040
Refs: #15750
Complexity: 3
Create Issue
Requirements
"python.experiments.optInto": ["All"],
in your user settings. If you did not have it, add it and reload.Testing
pytest
code:test_<name>.py
.py -3 -m venv .venv
(on windows), orpython3 -m venv .venv
(on linux/mac). Note: for nix/mac users you may have to installvenv
depending on your distribution.Python: select interpreter
command or from the status bar.Python: configure tests...
command from the command pallet, or go the test view and configure by using the test welcome view, or you can run tests to get a prompt to configure. Selectpytest
and follow the prompt.pytest
or the extension will installpytest
for you. If for some reason it does not install for you or get the prompt (file a bug). But do install it manually using this command from a activated terminal (see the .venv in the prompt indicated it is activated)The text was updated successfully, but these errors were encountered: