Skip to main content
Help us improve Python packaging – donate today!

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

Release history Release notifications

This version
History Node

0.2.6

History Node

0.2.5

History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pyrg-0.2.6-py2.6.egg (7.6 kB) Copy SHA256 hash SHA256 Egg 2.6 Nov 8, 2010
pyrg-0.2.6.tar.gz (7.0 kB) Copy SHA256 hash SHA256 Source None Nov 8, 2010

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page