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

Uploaded Source

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