Skip to content

docs(readme): link Ratatui's snapshot-testing recipe; say what the renderers are for - #337

Merged
vyncint merged 1 commit into
mainfrom
readme-333
Sep 9, 2026
Merged

docs(readme): link Ratatui's snapshot-testing recipe; say what the renderers are for#337
vyncint merged 1 commit into
mainfrom
readme-333

Conversation

@vyncint

@vyncint vyncint commented Sep 9, 2026

Copy link
Copy Markdown
Owner

Two documentation-only changes to the README, from #333.

Ratatui recipe. Ratatui's snapshot-testing recipe includes a termlens example that drives a compiled application through a PTY. A short paragraph after the badges links it, worded to claim exactly what the page says — a documentation reference — not "recommended by" or "official".

What the renderers are for. "What it is (and is not)" said termlens is not an SVG transcript generator, while the crate ships to_svg, to_html and termlens render. Both statements are true; the bullet now explains the purpose — a failing screen as a CI artifact, which is what the report action uses them for — and links the CI section.

No code changes. Rendered output checked in the diff; the in-page anchor #at-a-shell-prompt-and-in-ci matches the existing heading.

Closes #333

Signed-off-by: Vyncint Ng 115854244+vyncint@users.noreply.github.com

…nderers are for

Ratatui's recipe at ratatui.rs/recipes/testing/snapshots includes a
termlens example that drives a compiled application through a PTY. Link it
after the badges, in wording that claims what the page says and nothing
more: a documentation reference, not an endorsement.

"What it is (and is not)" said termlens is not an SVG transcript generator
while the crate ships to_svg, to_html and `termlens render`. Both are true;
the bullet now says why: the renderers exist so a failing screen can be
looked at in a CI job summary or a pull request, which is what the report
action does with them. No code changes.

Closes #333

Signed-off-by: Vyncint Ng <115854244+vyncint@users.noreply.github.com>
@vyncint
vyncint merged commit d9231d1 into main Sep 9, 2026
15 checks passed
@vyncint
vyncint deleted the readme-333 branch September 9, 2026 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

README: link Ratatui's snapshot-testing recipe, and say what the renderers are for

1 participant