Pytest snapshot testing utility that enables developers to write tests asserting immutability of computed results.
Overall
score
80%
Ensure a small snapshot-tested data module handles stale snapshot artifacts correctly across update, strict, and warn-only runs.
@generates
from typing import Dict, List
def fetch_active_releases() -> List[Dict[str, str]]:
"""Return the current releases that should be snapshotted."""
def fetch_deprecated_releases() -> List[Dict[str, str]]:
"""Return deprecated releases used only for preparing an intentionally unused snapshot artifact."""Snapshot testing plugin for pytest that supports update, warn-only, and reporting modes for unused snapshot artifacts.
Install with Tessl CLI
npx tessl i tessl/pypi-syrupyevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10