Skip to main content

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.

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.1.tar.gz (2.4 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pdbtest-1.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pdbtest-1.1.tar.gz
Algorithm Hash digest
SHA256 27e8f8949d1d51d2916968dd259bbdb5119b649973664ffb3f9f2461950b0d65
MD5 926e723639de4b4e1572801e85531f25
BLAKE2b-256 c54a0aed166a64d8c671f949d6be8bb408ab352a8de629d0d9b3e82e41a081d3

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 Pingdom Monitoring Sentry Error logging StatusPage Status page