Skip to main content

Python UnitTest Result colorized tool.

Project description

About

This script is colorized to Python’s UnitTest Result. inspired by RedGreen(rg command)

Install

used to easy_install:

$ easy_install pyrg

Require

  • Python2.6+

Usage

basic usage:

$ pyrg TEST_SCRIPT.py

$ python TEST_SCRIPT.py |& pyrg

verbose print usage:

$ pyrg -v TEST_SCRIPT.py

$ python TEST_SCRIPT.py -v |& pyrg

specified testcase:

$ pyrg TEST_SCRIPT.py TestCase.test_foo

Configuration

setting to $HOME/.pyrgrc file. setting file example:

[color]
ok = green
fail = yellow
error = red
function = cyan

you can be used color keywords are:

black gray red pink darkred green yellowgreen
darkgreen brown yellow gold blue lightblue
darkblue magenta lightmagenta darkmagenta
cyan lightcyan darkcyan silver white darksilver

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

pyrg-0.2.6.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

pyrg-0.2.6-py2.6.egg (7.6 kB view hashes)

Uploaded Source

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