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]
Keybindings
The following keybindings can be used in the fzf selection menu
- Tab: selected/deselect tests
- Shift+Tab: selected/deselect tests (move up)
- Ctrl+a: select/deselect all tests
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
pytest-fzf-0.0.14.tar.gz
(20.6 kB
view hashes)
Built Distribution
Close
Hashes for pytest_fzf-0.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 579d8c74444204ed7d84c5df0f2e32c40f46ea5ff8c43368fb0ec1a45139600b |
|
MD5 | 7299cac7cb33a5a48c799665e956b413 |
|
BLAKE2b-256 | 194498c0ea1c9ce6a41deb5bb1b66661b49b015df3d56a8aac43c5903d68d1c7 |