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.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8e649007597c8e3da2f6ad4d99e5eb12dbb3cdefe5cf5923d051901eaa84fc0 |
|
MD5 | 0a43a9afc2b181c4c2e229cc3e292923 |
|
BLAKE2b-256 | 5fa957ebc3c391632cb8a2242ef12046b6888507c5777c77b6be58272e5d40db |