Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vscode_pytest_update_snapshot-0.1.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file vscode_pytest_update_snapshot-0.1.0.tar.gz.

File metadata

File hashes

Hashes for vscode_pytest_update_snapshot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4a9d0d6d21416477403a3da7eff3d7d5f4c1bbf3756579525a89222c132defe8
MD5 cf9d265af01d29db8354ac7b1f1ba484
BLAKE2b-256 185c811c4c83d7f9325dd68e420293ef10660d6fefda4e463109a775f1e441c5

See more details on using hashes here.

File details

Details for the file vscode_pytest_update_snapshot-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for vscode_pytest_update_snapshot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d3a72f508f4ba57aaa6650fbe797c4f590e4b8bb5e057c1e338aca3f4a5172b
MD5 5d9fbafd47892ab1c023d5904a2212e0
BLAKE2b-256 74c9feca100ca68a5a9f34d32d61e9413425a7694bb8e92a9ecb17af5596c710

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page