Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

A unittest shim to make PDB debugging of test cases easy.

Project Description

Usage: python -m pdbtest [module]

(after the pattern of python -m unittest [module])

PDBtest shims the unittest test runner machinery to, when a test fails due to an exception, print some information about the TestCase and test_method, and then launch the PDB interactive debugger, affording you the opportunity to easily examine the failure.

The library also provides a PDBRunnerMixin class that you can mix in to your test runner to achieve the same effect, and a modified TestProgram that will automatically shim the runner you provide and can be used in the same way as unittest.TestProgram.

Release history Release notifications

This version
History Node

1.1

History Node

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pdbtest-1.1.tar.gz (2.4 kB) Copy SHA256 hash SHA256 Source None Oct 24, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page