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.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0df192f9b3512a4205f7d668299f3cdd660027c77b0a9349ac05aa310478ee72 |
|
MD5 | 8d88c772129ed54e1cd713a30b34b26b |
|
BLAKE2b-256 | ad2755f4fb6f86a130454cb891b1b0284ee886ba4e1732285df3eae4f2ec840e |