gitstack

grindlemire/go-tui code browser

314 B markdown 13 lines 2026-03-02 · 66512ab raw
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).