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.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 955e1a342642ee6a62e048826df1845b5d3835fd4ad3386da481236d3876fe4f |
|
MD5 | 5207d8f853780465482177673d48b99a |
|
BLAKE2b-256 | 8490ba7e4d43ba0694a13cf2a03928cb6a9056fd40cfd5c63f16bad409e92f99 |