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 files for pyrg 0.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyrg-0.2.6.tar.gz | 7.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyrg-0.2.6-py2.6.egg | Legacy Egg format | - | - | Details |
Total release size: 14.6 kB
Release files / pyrg-0.2.6.tar.gz
| Download URL | pyrg-0.2.6.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
69c803ef95ef8a23b30378d3c891ad15b89aafdf9507dcb7b6de7133cdf6a55c
|
|
BLAKE2b-256 checksum How to use checksums |
5ce0ed29cec7b1ffae0ca97f0f560b8bf2265d42ead6047adcb759a1b0af6870
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pyrg-0.2.6-py2.6.egg
| Download URL | pyrg-0.2.6-py2.6.egg |
|---|---|
| Size | 7.6 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
f90e0971f1281194ee8bd3dbd927afdb9ff931630269865dc92c6e4f6f4b2966
|
|
BLAKE2b-256 checksum How to use checksums |
286af1bcc1e3239a02010424bdd7c599bb120cfa7ad5a53ba2723c2fea2d4b59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |