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 details)

Uploaded Source

Built Distribution

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

Uploaded Source

File details

Details for the file pyrg-0.2.6.tar.gz.

File metadata

  • Download URL: pyrg-0.2.6.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyrg-0.2.6.tar.gz
Algorithm Hash digest
SHA256 69c803ef95ef8a23b30378d3c891ad15b89aafdf9507dcb7b6de7133cdf6a55c
MD5 c3a4ad847ea8c9ec69e5af18df6297e8
BLAKE2b-256 5ce0ed29cec7b1ffae0ca97f0f560b8bf2265d42ead6047adcb759a1b0af6870

See more details on using hashes here.

File details

Details for the file pyrg-0.2.6-py2.6.egg.

File metadata

  • Download URL: pyrg-0.2.6-py2.6.egg
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyrg-0.2.6-py2.6.egg
Algorithm Hash digest
SHA256 f90e0971f1281194ee8bd3dbd927afdb9ff931630269865dc92c6e4f6f4b2966
MD5 95b391580e63d097a40c15de11943723
BLAKE2b-256 286af1bcc1e3239a02010424bdd7c599bb120cfa7ad5a53ba2723c2fea2d4b59

See more details on using hashes here.

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