pytest-ui
Text User Interface for running python tests. Still in beta version
installation
- install using pip
pip install pytest-ui - provides the cli command
pytui
usage
$ pytui --help
Usage: pytui [OPTIONS] [PATH]
Options:
--debug / --no-debug Enable debug logging [default: False]
--help Show this message and exit.
- pypi address https://pypi.python.org/pypi/pytest-ui
keyboard controls
- r, F5 - run tests (last failed or first run, using filter)
- R, Ctrl + F5 - run all tests (using filter)
- s - run single test under cursor
- / - focus filter input
- Ctrl + f - clear filter input and focus it
- F4 - toggle show only failed tests
- Alt + Up/Down - navigate between failed tests (skipping passed)
- q - close window, quit (in main window)
filter input
By default, filter input is in fuzzy mode. This could be avoided by using dash signs, where exact match mode is used between a pair of them. For example
abc#match#def will match fuzzy "abc", then exactly "match" and then again fuzzy "def"
main goals
The goal of this project is to ease the testing process by
- selecting tests to run using fuzzy filter
- viewing failed tests stacktrace/output/log while the test suite is still running
- rerunning failed tests
- running a test with debugger
- usage as pytest plugin (for custom pytest scripts)
Release files for pytest-ui 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest-ui-0.5.tar.gz | 13.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_ui-0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.2 kB
Release files / pytest-ui-0.5.tar.gz
| Download URL | pytest-ui-0.5.tar.gz |
|---|---|
| Size | 13.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20924f1c19407eb8ff371a05007a698646d66cac30e4345a35b34293876d246d
|
|
BLAKE2b-256 checksum How to use checksums |
612bab1c88348f4e9291da7f2b27d835f7106a67edfa316b686a64bc615029e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9
|
Release files / pytest_ui-0.5-py3-none-any.whl
| Download URL | pytest_ui-0.5-py3-none-any.whl |
|---|---|
| Size | 15.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1e8cf948d2fc9eeeada9c046adbfe679313efd827763f87da37206e958977459
|
|
BLAKE2b-256 checksum How to use checksums |
cb0df2a35f5ab340c001b6b6e4fe97433557bb991f9473abdb43a2818782100e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9
|