| 1 | (test_helpers)= |
| 2 | |
| 3 | # Test Helpers |
| 4 | |
| 5 | Utilities for writing reliable tests against libtmux and downstream code that uses tmux. |
| 6 | |
| 7 | ::::{grid} 1 2 3 3 |
| 8 | :gutter: 2 2 3 3 |
| 9 | |
| 10 | :::{grid-item-card} Constants |
| 11 | :link: constants |
| 12 | :link-type: doc |
| 13 | Predefined test constants. |
| 14 | ::: |
| 15 | :::{grid-item-card} Environment |
| 16 | :link: environment |
| 17 | :link-type: doc |
| 18 | Environment variable mocking. |
| 19 | ::: |
| 20 | :::{grid-item-card} Random |
| 21 | :link: random |
| 22 | :link-type: doc |
| 23 | Randomized name generators. |
| 24 | ::: |
| 25 | :::{grid-item-card} Retry |
| 26 | :link: retry |
| 27 | :link-type: doc |
| 28 | Retry logic for async/tmux operations. |
| 29 | ::: |
| 30 | :::{grid-item-card} Temporary |
| 31 | :link: temporary |
| 32 | :link-type: doc |
| 33 | Context managers for ephemeral tmux resources. |
| 34 | ::: |
| 35 | |
| 36 | :::: |
| 37 | |
| 38 | ```{toctree} |
| 39 | :hidden: |
| 40 | :maxdepth: 1 |
| 41 | |
| 42 | constants |
| 43 | environment |
| 44 | random |
| 45 | retry |
| 46 | temporary |
| 47 | ``` |