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.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f36566e4579469d8f605d68fee1599fbaf6a87940cc44ef40d934d59196877ae |
|
MD5 | e01d958e49ebb93b6e655a057c22da9f |
|
BLAKE2b-256 | f3cafb729ae2eca1b50b972381c6668269023344ca3e78635f9450d683af2e09 |