|
1 | | -# Teastraw |
| 1 | +<img src="./assets/teastraw.png" width="90" style="margin-right:10px" align=left alt="teastraw logo"> |
| 2 | +<H1>Teastraw</H1><br> |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
2 | 11 |
|
3 | 12 | A Go package for end-to-end testing of Terminal User Interface (TUI) applications. |
4 | 13 |
|
| 14 | +## Table of Contents |
| 15 | + |
| 16 | +<!--ts--> |
| 17 | +* [Teastraw](#teastraw) |
| 18 | + * [Table of Contents](#table-of-contents) |
| 19 | + * [Overview](#overview) |
| 20 | + * [Installation](#installation) |
| 21 | + * [Quick Start](#quick-start) |
| 22 | + * [Key Features](#key-features) |
| 23 | + * [Screen Validation](#screen-validation) |
| 24 | + * [Waiting for Conditions](#waiting-for-conditions) |
| 25 | + * [Input Simulation](#input-simulation) |
| 26 | + * [Graceful Shutdown](#graceful-shutdown) |
| 27 | + * [Configuration Options](#configuration-options) |
| 28 | + * [Terminal Size](#terminal-size) |
| 29 | + * [Exit Sequences](#exit-sequences) |
| 30 | + * [Testing Patterns](#testing-patterns) |
| 31 | + * [Golden File Testing](#golden-file-testing) |
| 32 | + * [Time-based Testing](#time-based-testing) |
| 33 | + * [Examples](#examples) |
| 34 | + * [Comparison to Teatest](#comparison-to-teatest) |
| 35 | + * [Contributing](#contributing) |
| 36 | + * [License](#license) |
| 37 | + * [Credits](#credits) |
| 38 | +<!--te--> |
| 39 | + |
5 | 40 | ## Overview |
6 | 41 |
|
7 | 42 | `Teastraw` provides a test runner that can interact with TUI applications by: |
@@ -171,8 +206,8 @@ runner, err := exp.NewTestRunner( |
171 | 206 | exp.WithCommand(cmd), |
172 | 207 | ) |
173 | 208 |
|
174 | | -[A few common ones](https://github.com/fiffeek/teastraw/blob/main/pkg/exp/const.go#L3) are passed by default, you can also refer to them in your code. |
175 | 209 | ``` |
| 210 | +[A few common ones](https://github.com/fiffeek/teastraw/blob/main/pkg/exp/const.go#L3) are passed by default, you can also refer to them in your code. |
176 | 211 |
|
177 | 212 | ## Testing Patterns |
178 | 213 |
|
|
0 commit comments