# pytest-snap **Repository Path**: mirrors_pytest-dev/pytest-snap ## Basic Information - **Project Name**: pytest-snap - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-09-11 - **Last Updated**: 2026-04-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # pytest-snap Minimal deterministic snapshot capture of a pytest run: per-test outcome + duration (ns) stored in a JSON file. Intended as a small foundation for optional future diff / perf / gating features. Current scope: * Pytest plugin auto‑loaded (entry point `snap`). * `--snap` flag enables capture. * `--snap-out PATH` chooses output file (default `.snap/current.json`). * CLI wrapper for repeated labeled runs (`pytest-snap run`, `pytest-snap all`). PyPi: https://pypi.org/project/pytest-snapcheck/#description ## Installation ```bash pip install pytest-snapcheck ``` --- ## Quick Start Install: ```bash pip install pytest-snapcheck ``` Run tests with snapshot capture: ```bash pytest --snap ``` Result written to `.snap/current.json` (create the directory if needed). Change destination: ```bash pytest --snap --snap-out my_run.json ``` Use the helper CLI for labeled runs (writes `.artifacts/snap_