Pytest Pudb Save

Pytest PuDB debugger integration

Project README

=========== pytest-pudb

.. image:: https://travis-ci.org/wronglink/pytest-pudb.svg?branch=master :target: https://travis-ci.org/wronglink/pytest-pudb :alt: Travis-ci: continuous integration status.

Pytest PuDB debugger integration based on pytest PDB integration_

Use it as --pdb py.test command argument:

.. code-block:: console

py.test --pudb

Or simply use pudb.set_trace inside your python code:

.. code-block:: python

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.

.. _PDB integration: http://doc.pytest.org/en/latest/usage.html#dropping-to-pdb-python-debugger-on-failures .. _pudb: https://pypi.python.org/pypi/pudb .. _pytest: https://pypi.python.org/pypi/pytest

Open Source Agenda is not affiliated with "Pytest Pudb" Project. README Source: wronglink/pytest-pudb
Stars
58
Open Issues
9
Last Commit
9 months ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating