Pytest snapshot testing utility that enables developers to write tests asserting immutability of computed results.
Overall
score
80%
{
"context": "Evaluates whether the solution drives syrupy's snapshot discovery controls through the intended pytest flags, covering custom snapshot directory naming and ignored file extensions. Scoring checks that the runner builds and uses these options directly instead of reimplementing discovery logic, including optional update runs.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses plugin",
"description": "Pytest execution or argument builder explicitly relies on syrupy being available (dependency declared/imported or plugin enabled) rather than hand-rolled snapshot handling.",
"max_score": 20
},
{
"name": "Custom dirname",
"description": "Command-line args include the package flag to set the snapshot directory name (e.g., --snapshot-dirname) and apply the provided or default value when launching tests.",
"max_score": 30
},
{
"name": "Ignore extensions",
"description": "Command-line args include the package flag that ignores file extensions during snapshot discovery/cleanup (e.g., --snapshot-ignore-file-extensions) using the provided extensions joined in the expected comma-separated form.",
"max_score": 30
},
{
"name": "Update support",
"description": "When update mode is requested, the runner adds the package's snapshot update flag (--snapshot-update) so ignored extensions and custom directories are honored during cleanup as well as normal runs.",
"max_score": 20
}
]
}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