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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytest_fzf-0.0.9.tar.gz.
File metadata
- Download URL: pytest_fzf-0.0.9.tar.gz
- Upload date:
- Size: 20.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5dc82a1c06d517332e794771c2410025fd7bf9054d310d7995630fa312642528
|
|
| MD5 |
ff2b9fc742cc3231faade80075a4610b
|
|
| BLAKE2b-256 |
229860cfcc4948721d2135246cece8dd5ac932f5caac27d980643bb944b802f6
|
File details
Details for the file pytest_fzf-0.0.9-py3-none-any.whl.
File metadata
- Download URL: pytest_fzf-0.0.9-py3-none-any.whl
- Upload date:
- Size: 15.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0df192f9b3512a4205f7d668299f3cdd660027c77b0a9349ac05aa310478ee72
|
|
| MD5 |
8d88c772129ed54e1cd713a30b34b26b
|
|
| BLAKE2b-256 |
ad2755f4fb6f86a130454cb891b1b0284ee886ba4e1732285df3eae4f2ec840e
|