1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Testing
Demonstrates unit testing go-tui components without a real terminal using `MockTerminal` for capturing rendered output and `MockEventReader` for replaying queued events.
## Run
```bash
go test ./...
```
## Guide
For a detailed walkthrough, see the [Testing guide](https://go-tui.dev/guide/testing).
|