Skip to main content

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.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.5.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file pytest-pudb-0.5.tar.gz.

File metadata

  • Download URL: pytest-pudb-0.5.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pytest-pudb-0.5.tar.gz
Algorithm Hash digest
SHA256 a5307b9b587048c05c4a18e8508a4ba725de64806ba6dbd61c379b2508fd4777
MD5 68026c27bdefebfc4720ef5b75ce5940
BLAKE2b-256 dba354d86322b051513b7bd6ff41863e134677d7098e5b600cd5c1fa2e6c521d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page