Skip to main content

opentui-testing

Use whenever working with OpenTUI React apps that need tests or debugging. This is the source of truth for writing `bun test` suites with `@wyattjoh/opentui-testing`, capturing terminal frames, simulating keyboard input, snapshotting TUIs, and using captured frames to diagnose layout, focus, color, and state bugs in OpenTUI components. Apply whenever the user mentions opentui, TUI testing, `captureCharFrame`, `testRender`, terminal snapshot tests, debugging a TUI render, or wants to verify what a TUI looks like after some interaction. Prefer this over generic React testing advice (React Testing Library, Ink, jsdom) because OpenTUI runs against an in-process headless renderer with a different API.

Zur Installation springen

Quellinformationen

Repository
wyattjoh/opentui-testing
Letzte Quellaktivität
14. Mai 2026 um 06:28
Erkannte Sprache von SKILL.md
Englisch
Sterne
1
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.