| 1 | (testing)= |
| 2 | |
| 3 | # Testing Utilities |
| 4 | |
| 5 | Tools for testing code that uses libtmux. |
| 6 | |
| 7 | ::::{grid} 1 1 2 2 |
| 8 | :gutter: 2 2 3 3 |
| 9 | |
| 10 | :::{grid-item-card} pytest Plugin |
| 11 | :link: pytest-plugin/index |
| 12 | :link-type: doc |
| 13 | [pytest] fixtures for isolated tmux servers, sessions, windows, and panes in |
| 14 | automated tests. |
| 15 | ::: |
| 16 | |
| 17 | :::{grid-item-card} Test Helpers |
| 18 | :link: test-helpers/index |
| 19 | :link-type: doc |
| 20 | Utilities for test setup: constants, environment mocking, retry logic, temporary resources. |
| 21 | ::: |
| 22 | |
| 23 | :::: |
| 24 | |
| 25 | ```{toctree} |
| 26 | :hidden: |
| 27 | :maxdepth: 2 |
| 28 | |
| 29 | pytest-plugin/index |
| 30 | test-helpers/index |
| 31 | ``` |
| 32 | |
| 33 | [pytest]: https://docs.pytest.org/en/stable/ |