fzf-based test selector for pytest
Project description
pytest-fzf
fzf-based test selection with pytest
Features
- Select tests to be run with pytest using fzf
Requirements
- fzf
- (Optional, for colored preview of test functions)
bat
sharkdp/bat
Installation
You can install pytest-fzf
via pip
from PyPI:
pip install pytest-fzf
Usage
pytest --fzf [query]
Select multiple tests using tab (shift+tab selects and moves up), deselect previously selected tests using using tab again.
Optionally, the initial query can be specified from the command line:
pytest --fzf query
Contributing
Contributions are very welcome. Tests can be run with nox, please ensure the coverage at least stays the same before you submit a pull request.
License
Distributed under the terms of the GNU GPL
v3.0 license, pytest-fzf
is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pytest_fzf-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f16588532e5fbd0ed05b5b4214a88aab41c300d52a7d64b006c1f427531f3b7 |
|
MD5 | 17fabd89a70bab812bc2b7c42b79b09b |
|
BLAKE2b-256 | 5b676b1f6f92f6a4644f07ebc3c252242c77bf6ab3c0bbf3b04e4d121cb9e979 |