Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 995 Bytes

README.rst

File metadata and controls

41 lines (26 loc) · 995 Bytes

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.