Skip to content
This repository has been archived by the owner on Feb 4, 2018. It is now read-only.

LukeCarrier/py3k-pyrg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A fork of the pyrg module for Python 3.x

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages