Skip to main content

A nose plugin for dropping into pudb on test errors or failures.

Project description

https://travis-ci.org/AntoineD/nose-pudb.png?branch=master

The nose-pudb plugin provides the integration between the nose testing framework and the pudb console-based visual debugger. Instead of collecting and displaying the test results, the test runner can drop into the debugger on test errors and/or failures.

This is similar to the nose’s built-in pdb plugin which uses the debugger from the python standard library.

Please submit bugs and patches on https://github.com/AntoineD/nose-pudb/issues.

This plugin has been originally developed by Antti Kaihola.

Installation

Install nose-pudb using pip:

$ pip nose-pudb

Or you can clone the source using git from http://github.com/AntoineD/nose-pudb.git and install it with:

$ python setup.py install

Usage

To run nose and drop into pudb on test failures and errors, use:

$ nosetests --pudb

or set the environment variable NOSE_PUDB:

$ NOSE_PUDB=1 nosetests

To drop into pudb on failures, use:

$ nosetests --pudb-failures

or set the environment variable NOSE_PUDB_FAILURES:

$ NOSE_PUDB_FAILURES=1 nosetests

To drop into pudb on errors, use:

$ nosetests --pudb-errors

or set the environment variable NOSE_PUDB_ERRORS:

$ NOSE_PUDB_ERRORS=1 nosetests

License

This plugin is released under the GNU Lesser General Public license (LGPL). See the file LICENSE for details.

Project details


Download files

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

Source Distribution

nose-pudb-1.0.tar.gz (12.4 kB view details)

Uploaded Source

File details

Details for the file nose-pudb-1.0.tar.gz.

File metadata

  • Download URL: nose-pudb-1.0.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nose-pudb-1.0.tar.gz
Algorithm Hash digest
SHA256 1f1c10f364231473acd4a4d5177a36567137b8ddc9e6875b951a2c81948059ac
MD5 170caaa677fe4b7301257607641b233e
BLAKE2b-256 ee93077d64d1332c960717a9da7e26a234455dba9a038ac5048d2b3bbfb4dabf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page