New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rednose

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rednose

coloured output for nosetests

  • 1.3.0
  • PyPI
  • Socket score

Maintainers
2

========= rednose

rednose is a nosetests_ plugin for adding colour (and readability) to nosetest console results.

.. image:: rednose_example.png :scale: 50 % :align: center

Installation:

::

pip install rednose

or from the source::

python setup.py install

Rednose officially supports Python 2.7, 3.4, and 3.5.

Usage:

::

nosetests --rednose

or::

export NOSE_REDNOSE=1
nosetests

Rednose by default uses auto-colouring, which will only use colour if you're running it on a terminal (i.e not piping it to a file). To control colouring, use one of::

nosetests --rednose --force-color
nosetests --no-color

(you can also control this by setting the environment variable NOSE_REDNOSE_COLOR to 'force' or 'no')

Rednose by default prints file paths relative to the working directory. If you want the full path in the traceback then use::

nosetests --rednose --full-file-path

Rednose by default prints error style formating for skipped tests, to supress this use::

nosetests --rednose --hide-skips

Rednose supports printing the test results mid run as well as at the end, to enable it use::

nosetests --rednose --immediate

.. _nosetests: http://somethingaboutorange.com/mrl/projects/nose/

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc