Pytest Run AssistantPytest Run Assistant is a Visual Studio Code extension that adds handy CodeLens buttons above each Features
ConfigurationAdd the following to your
or just find in settings How to find out python pathThe easiest way — if you're using Poetry — is to run:
Look for the Executable: field in the output (works on all systems). Alternatively, you can use the following commands to find the Python executable in an activated environment: macOS / Linux:
Windows (Command Prompt):
Windows (PowerShell):
You can also try locating the executable manually in .venv or .pyenv directories under your home folder. Requirements
How It WorksThe extension parses Python files and adds CodeLens above test functions (
RepositoryYou can find the source code on GitHub: https://github.com/pependuez/pytest-run-assistant FeedbackI’m open to suggestions, feature requests, and feedback of any kind — including criticism. If you find a bug, have an idea, or just want to share your experience, feel free to open an issue or discussion on GitHub. Also, if you find this extension useful, a star or a rating on the marketplace is always appreciated! |