skip to navigation
skip to content

Not Logged In

pyrg 0.2.6

Python UnitTest Result colorized tool.

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
 
File Type Py Version Uploaded on Size
pyrg-0.2.6-py2.6.egg (md5) Python Egg 2.6 2010-11-08 7KB
pyrg-0.2.6.tar.gz (md5) Source 2010-11-08 6KB
  • Downloads (All Versions):
  • 18 downloads in the last day
  • 126 downloads in the last week
  • 897 downloads in the last month