Skip to content

Commit

Permalink
docs(CHANGES): Note pytest-xdist
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Apr 20, 2024
1 parent a99c02a commit 5138853
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,34 @@ $ pip install --user --upgrade --pre libtmux

<!-- To maintainers and contributors: Please add notes for the forthcoming version above -->

### Testing

- Add `pytest-xdist` ([PyPI](https://pypi.org/project/pytest-xdist/), [GitHub](https://github.com/pytest-dev/pytest-xdist)) for parallel testing (#522).

pytest:

```console
py.test -n auto
```

pytest-watcher:

```console
env PYTEST_ADDOPTS='-n auto' make start
```

entr(1):

```console
make watch_test test="-n auto"
```

- Improve flakey tests:

- `retry_until()` tests: Relax clock in `assert` (#522).
- `tests/test_pane.py::test_capture_pane_start`: Use `retry_until()` to poll,
improve correctness of test (#522).

### Documentation

- Automatically linkify links that were previously only text.
Expand Down

0 comments on commit 5138853

Please sign in to comment.