Skip to main content

# pdbtest

## Usage python -m pdbtest [module]

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

## Description

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.

Download files

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

Source Distribution

pdbtest-1.4.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file pdbtest-1.4.tar.gz.

File metadata

  • Download URL: pdbtest-1.4.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2

File hashes

Hashes for pdbtest-1.4.tar.gz
Algorithm Hash digest
SHA256 045084007dfcb6ec50cc0a99fc2e252e81b74fca28050fd0d202b7ad98bf3f1e
MD5 99c812fd75691ec38e163e04a0e1f7c6
BLAKE2b-256 f70565935c371a5ab2fd01ff9d980831b4bbb217f032152148c0a6701999ff86

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page