All Projects → pytest-dev → Pytest Bpdb

pytest-dev / Pytest Bpdb

pytest plugin for dropping to bpdb on test failures

Programming Languages

python
139335 projects - #7 most used programming language

=========== pytest-bpdb

A pytest_ plugin for dropping to bpdb_ on test failures.

.. _pytest: http://pytest.org .. _bpdb: http://docs.bpython-interpreter.org/bpdb.html

.. image:: https://travis-ci.org/slafs/pytest-bpdb.png?branch=master :target: https://travis-ci.org/slafs/pytest-bpdb

.. image:: https://badge.fury.io/py/pytest-bpdb.png :target: http://badge.fury.io/py/pytest-bpdb

.. image:: https://pypip.in/d/pytest-bpdb/badge.png :target: https://pypi.python.org/pypi/pytest-bpdb

This plugin is almost entirely based on built-in pytest pdb plugin_ and pytest-ipdb_ plugin

.. _pytest pdb plugin: https://bitbucket.org/hpk42/pytest/src/d942d16857f3fd225d25bc21aa6531449163528c/_pytest/pdb.py?at=default .. _pytest-ipdb: https://github.com/mverteuil/pytest-ipdb

Installation

To install the plugin run::

pip install pytest-bpdb

or use a development version::

pip install -e git+git://github.com/slafs/pytest-bpdb

Usage

To enable a BPython debugger (bpdb) on pytest failures use a --bpdb option. For example::

py.test --bpdb tests/
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].