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.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 037f1c8ee2fc988e207f364498b7af95113c4c05e9a322026a77800b3a878955 |
|
MD5 | 3a52c121a28aaa555d823f57401815a6 |
|
BLAKE2b-256 | 86b07a4cfd58fb7f2b13fa807a85c03e72f5c0d13411bee4f355d1fe6821e8f9 |