Plugin for pytest to enter PyCharm debugger on uncaught exceptions
Free software: BSD license
Features
Uncaught exceptions in pytest test cases will trigger the PyCharm debugger
Installation
You can install the plugin by running
pip install pytest-pycharm
Alternately check out the source code and run
python setup.py install
Usage
You are ready to go right after the plugin installation. Execute any test in PyCharm by right-clicking on a test and selecting Debug pytest in …. The debugger will pause on a false assertion (see test example).
The plugin also works with custom pytest Run Configurations: Run | Edit Configurations | Add New Configuration | Python tests | pytest.
Note: make sure the Run Configuration uses the correct interpreter with pytest-pycharm installed.
Release files for pytest-pycharm 0.7.0
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-pycharm-0.7.0.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_pycharm-0.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / pytest-pycharm-0.7.0.tar.gz
| Download URL | pytest-pycharm-0.7.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d920c016a2b14449b68943762d0fa42dc03cb0060b5c375336e5e2b1bebda0dd
|
|
BLAKE2b-256 checksum How to use checksums |
20ab45be5268cabb0a6a9c4ab49ab4036ea9fbabc2384aa5c005ea87b1f255fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.5
|
Release files / pytest_pycharm-0.7.0-py3-none-any.whl
| Download URL | pytest_pycharm-0.7.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5a642e3e21487cb2e1bf78464edb7f1b31996f8fce34780786f218144de9d7cf
|
|
BLAKE2b-256 checksum How to use checksums |
9f659e745ecaa5c600b7ca331bc08854fdcb7c478da3160f75a282f844b0ab3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.5
|