Testing recipes for specific Textual scenarios. Each pattern shows complete, working test code.
| Keyboard shortcuts | Test Keyboard Shortcuts | | Screen transitions | Test Screen Transitions | | Focus management | Test Focus Management | | Reactive attributes | Test Reactive Attributes | | Custom messages | Test Custom Messages | | CSS styling | Test CSS Styling | | Data tables | Test Data Tables | | Scrolling | Test Scrolling |
| Input validation | Test Input Validation | | Error states | Test Error States | | Loading states | Test Loading States | | Background workers | Test Background Workers |
Testing recipes for specific Textual TUI scenarios. Provides "how do I test X?" patterns for common testing needs. Use when: testing keyboard shortcuts, screen transitions, focus management, reactive attributes, custom messages/events, CSS styling effects, data tables, scrolling, input validation, error/loading states, or background workers. Each pattern shows the complete test with proper async handling and assertions. Source: dawiddutoit/custom-claude.