Back to skills
SKILL.md
Tui Test Renderer
ASecuritySet up testing utilities for TUI components with ink-testing-library and Bubble Tea testing.
- 1,760 stars
- 0 votes
- 0 copies
- 1 view
- Added September 2, 2026
Works with
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add a5c-ai/babysitter --skill tui-test-renderer --agent claude-codeAre you the author of Tui Test Renderer?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/a5c-ai-tui-test-renderer-babysitter)---
name: tui-test-renderer
description: Set up testing utilities for TUI components with ink-testing-library and Bubble Tea testing.
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
graph:
domains: [domain:software-engineering]
specializations: [specialization:cli-mcp-development]
skillAreas: [skill-area:cli-design, skill-area:e2e-testing]
roles: [role:backend-engineer, role:platform-engineer]
workflows: [workflow:feature-development]
topics: [topic:developer-experience]
---
# TUI Test Renderer
Set up testing utilities for TUI components.
## Generated Patterns
### Ink Testing
```typescript
import { render } from 'ink-testing-library';
import React from 'react';
import { MyComponent } from './MyComponent';
test('renders correctly', () => {
const { lastFrame, stdin } = render(<MyComponent />);
expect(lastFrame()).toContain('Expected text');
stdin.write('\r'); // Simulate enter
expect(lastFrame()).toContain('After enter');
});
```
### Bubble Tea Testing
```go
import (
tea "github.com/charmbracelet/bubbletea"
"testing"
)
func TestModel(t *testing.T) {
m := initialModel()
m, _ = m.Update(tea.KeyMsg{Type: tea.KeyEnter})
view := m.View()
if !strings.Contains(view, "expected") {
t.Errorf("Expected view to contain 'expected'")
}
}
```
## Target Processes
- tui-application-framework
- cli-unit-integration-testing
Files in this skill
- README.md
- SKILL.md
Attribution
Comments
Loading comments…