Skip to main content

Green is a clean, colorful test runner for Python unit tests. Compare it to nose, nose2, and trial.

Project description

Green

Clean, colorful test runner for Python

Green is a clean, colorful test runner for Python unit tests. Compare it to nose, nose2, and trial.

Basic Usage

To use Green with existing Python unit tests, just run green in the home directory of your project. (To make it easier on developers with multiple versions of Python installed, we also install greenX and green-X.Y, where X is the major version number of Python [2 or 3] and Y is the minor version number.)

For more advanced usage, see green –help

Screenshots

Okay, so I haven’t figured out how to get screenshots into the README yet, but you can take a look at some example output by running green -vv green.examples

Installation

For most versions of python 2.x you should use pip. You may have to preface this command with sudo if you do not have root permissions.

pip install green

For more recent versions of Python 3, the command is usually nearly the same (you still may have to preface the command with sudo).

pip3 install green

Upgrading

Just add the –upgrade option to what you used above. For example:

pip3 install –upgrade green

Uninstalling

Replace install with uninstall in the command from the Installation section above.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

green-0.9.8.1.tar.gz (9.4 kB view details)

Uploaded Source

File details

Details for the file green-0.9.8.1.tar.gz.

File metadata

  • Download URL: green-0.9.8.1.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for green-0.9.8.1.tar.gz
Algorithm Hash digest
SHA256 1abfb0b0eeb83e3e5d036bd29d998407fbfb0863e18aa6f478206be135581099
MD5 86a09af2ab25b2e82b8c97eb7a3d056e
BLAKE2b-256 4feae79d657c466e3b61a097090c26a41e645310d51ce25db380305ab5f08eeb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page