Pytest PuDB debugger integration based on pytest PDB integration
Use it as --pdb py.test command argument:
py.test --pudb
Or simply use pudb.set_trace inside your python code:
def test_set_trace_integration():
# No --capture=no need
import pudb
pudb.set_trace()
assert 1 == 2
def test_pudb_b_integration():
# No --capture=no need
import pudb.b
# traceback is set up here
assert 1 == 2
See also pytest and pudb projects.
History
0.6 (2018-02-13)
Fixed pytest 3.3.1+ compatibility (by @noirbizarre)
0.5 (2017-02-25)
Fixed pypi package by adding MANIFEST.in
0.4 (2017-02-24)
Use post mortem on exception (by @Wilfred)
0.2 (2016-09-24)
Added import pytest.b support
0.1 (2016-07-31)
Public release
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytest-pudb-0.6.tar.gz
(4.1 kB
view details)
File details
Details for the file pytest-pudb-0.6.tar.gz.
File metadata
- Download URL: pytest-pudb-0.6.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc438ebe4da1f64f94956cece755a02b1a525198016e99b4f279abe63ae273a6
|
|
| MD5 |
d6e7ce9934fc2dba6ab86be73fc7b3ba
|
|
| BLAKE2b-256 |
932c0ec5fb463259d29ef5e7f7a6a2b1642445ff245a1c47871b01ae0905de35
|