Skip to main content

Pytest PuDB debugger integration

Project description

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.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

Project details


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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pytest-pudb-0.4.tar.gz
Algorithm Hash digest
SHA256 833fb6d185694d00a6191df02419e3d705b3ad5af547a08fbeceec147c858df1
MD5 befc01d016d4728422e54e96c2059b42
BLAKE2b-256 714ab5f944e99f0a03cbaff384de0f9e584111a512ee77532ab043d7819b1a54

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 Pingdom Monitoring Sentry Error logging StatusPage Status page