fzf-based test selector for pytest
Project description
fzf-based test selection with pytest
Features
Select tests to be run with pytest using fzf
Requirements
(Optional, for colored preview of test functions) bat (https://github.com/sharkdp/bat)
Installation
You can install “pytest-fzf” via pip from PyPI:
$ pip install pytest-fzf
Usage
$ pytest --fzf
Select multiple tests using tab, deselect previously selected tests using shift+tab
In order to start fzf with a given query:
$ pytest --fzf --fzf-query=<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.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1e2206b55ce5e9d2daad0d433590a9440322fe82c0eb64b539fa5e11f2099dc |
|
MD5 | f6f545e9684b07c05e38333739f5011e |
|
BLAKE2b-256 | e516639ca33909af8c534b8945768a3d22b27f141872f7a2cdf82bd45e5b430d |