pytest-pudb

Pytest PuDB debugger integration


Keywords
debugger, pdb, pudb, pytest, pytest-plugin, python
License
MIT
Install
pip install pytest-pudb==0.7.0

Documentation

pytest-pudb

Travis-ci: continuous integration status.

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.