·textual-snapshot-testing
</>

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.

3Installs·0Trend·@dawiddutoit

Installation

$npx skills add https://github.com/dawiddutoit/custom-claude --skill textual-snapshot-testing

How to Install textual-snapshot-testing

Quickly install textual-snapshot-testing AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/dawiddutoit/custom-claude --skill textual-snapshot-testing
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: dawiddutoit/custom-claude.

SKILL.md

View raw

Visual regression testing using pytest-textual-snapshot to capture and compare SVG screenshots.

The snapcompare fixture is automatically available after installation.

When tests fail, pytest generates HTML report with visual diff:

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. Source: dawiddutoit/custom-claude.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/dawiddutoit/custom-claude --skill textual-snapshot-testing
Category
</>Dev Tools
Verified
First Seen
2026-02-25
Updated
2026-03-11

Browse more skills from dawiddutoit/custom-claude

Quick answers

What is 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. Source: dawiddutoit/custom-claude.

How do I install textual-snapshot-testing?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/dawiddutoit/custom-claude --skill textual-snapshot-testing Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/dawiddutoit/custom-claude