A pytest plugin for dropping to bpdb on test failures.
This plugin is almost entirely based on built-in pytest pdb plugin and pytest-ipdb plugin
To install the plugin run:
pip install pytest-bpdb
or use a development version:
pip install -e git+git://github.com/slafs/pytest-bpdb
To enable a BPython debugger (bpdb) on pytest failures use a --bpdb
option.
For example:
py.test --bpdb tests/