Syrupy: the popular pytest snapshot plugin keeps tests of big outputs readable
KhuyenTran16 · x · 2026-09-23
The problem
Plain pytest assertions are easy to read for small outputs, but when a function returns a large dictionary, tests degrade into long field-by-field checks that are messy and hard to maintain.
The fix
Syrupy is the most popular pytest snapshot plugin (887 stars, MIT licensed, zero dependencies): it moves expected output into a snapshot file, so tests still verify the full result while assertions stay one clean line. Over 43 community members have contributed.
Related event: Syrupy Snapshot Testing Cleans Up Verbose pytest Assertions(2 posts)→
More from coding & agent
- Sebastian Raschka: the real appeal of open-source agent harnesses is inspectability, not price — rasbt · 2026-09-23
- Cross-posting tool Ferryman nears $10,000 MRR with $30-$100/mo tiers and posting straight from Claude and Cursor — KevinNaughtonJr · 2026-09-23
- Agent Desktop: Give Your AI Agent Its Own Real macOS Account, Now Open Source — jasonkneen · 2026-09-23
- Swarms releases 5 ecosystem guides comparing its agent framework with CrewAI, LangGraph and Autogen — KyeGomezB · 2026-09-23
- 15-year ads veteran builds the ad-platform MCP he couldn't find: 14 sources, paused-by-default writes — DapperManagement1306 · 2026-09-23
- Critical Next.js RCE: CVE-2026-94545 hits next/og ImageResponse via Satori SVG escaping flaw — evilsocket · 2026-09-23