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 |
Test di ricette per scenari TUI testuali specifici. Fornisce "come posso testare X?" modelli per esigenze di test comuni. Utilizzare quando: testare le scorciatoie da tastiera, le transizioni dello schermo, la messa a fuoco gestione, attributi reattivi, messaggi/eventi personalizzati, effetti di stile CSS, tabelle dati, scorrimento, convalida dell'input, stati di errore/caricamento o lavoratori in background. Ogni modello mostra il test completo con la corretta gestione asincrona e le asserzioni. Fonte: dawiddutoit/custom-claude.