Skip to content
This repository has been archived by the owner on Jul 21, 2019. It is now read-only.

AntoineD/nose-pudb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nose-pudb -- pudb integration for the nose python testing framework

image

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.

About

Nose plugin for dropping into a visual debugger on test errors and/or failures

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%