Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.09 KB

README.rst

File metadata and controls

43 lines (27 loc) · 1.09 KB

pytest-bpdb

A pytest plugin for dropping to bpdb on test failures.

https://travis-ci.org/slafs/pytest-bpdb.png?branch=master https://badge.fury.io/py/pytest-bpdb.png https://pypip.in/d/pytest-bpdb/badge.png

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

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/