Run pytest on the test at cursor and update inline snapshots.
Project description
vscode-pytest-update-snapshot
Run pytest on the test under your cursor and update inline snapshots (VSCode-friendly).
Install / Run (no install with uvx)
uvx vscode-pytest-update-snapshot tests/test_example.py 12
# ensure it uses your project venv interpreter:
uvx --python ".venv/Scripts/python.exe" vscode-pytest-update-snapshot tests/test_example.py 12
Pass extra pytest args after --:
uvx vscode-pytest-update-snapshot tests/test_example.py 12 -- -q -k "mycase"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vscode_pytest_update_snapshot-0.1.0.tar.gz.
File metadata
- Download URL: vscode_pytest_update_snapshot-0.1.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a9d0d6d21416477403a3da7eff3d7d5f4c1bbf3756579525a89222c132defe8
|
|
| MD5 |
cf9d265af01d29db8354ac7b1f1ba484
|
|
| BLAKE2b-256 |
185c811c4c83d7f9325dd68e420293ef10660d6fefda4e463109a775f1e441c5
|
File details
Details for the file vscode_pytest_update_snapshot-0.1.0-py3-none-any.whl.
File metadata
- Download URL: vscode_pytest_update_snapshot-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d3a72f508f4ba57aaa6650fbe797c4f590e4b8bb5e057c1e338aca3f4a5172b
|
|
| MD5 |
5d9fbafd47892ab1c023d5904a2212e0
|
|
| BLAKE2b-256 |
74c9feca100ca68a5a9f34d32d61e9413425a7694bb8e92a9ecb17af5596c710
|