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.

الانتقال إلى التثبيت

معلومات المصدر

المستودع
wyattjoh/opentui-testing
آخر نشاط في المصدر
١٤ مايو ٢٠٢٦ في ٠٦:٢٨
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
١
التفرعات
٠

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.