Textual Snapshot Testing

Visual regression testing for Textual TUI applications using pytest-textual-snapshot. Captures SVG screenshots and compares across test runs to detect visual regressions. Use when: testing visual appearance, detecting layout regressions, testing responsive designs across terminal sizes, verifying CSS styling effects, or setting up CI/CD for visual testing. Covers snap_compare fixture, run_before callbacks, snapshot management, flaky test handling (animations, cursors, timestamps), and CI integration.

majiayu000 Updated 567 repo stars

File contents

majiayu000/claude-skill-registry-data/tree/main/data/textual-snapshot-testing commit 4c55eadc8c

Frequently asked questions

npx skillmds@latest add majiayu000/textual-snapshot-testing