Green is a colorful, clean, fast and powerful test runner for Python unit tests. Compare it to trial or nose.
Please visit the GitHub page for Green for full documentation, including a nice tutorial on how to correctly layout unit tests in your own python project.
- Colorful - Terminal output makes good use of color when the terminal supports it.
- Clean - Low redundancy in output. Result stats for each test is lined up in a vertical column.
- Fast - Can run tests in independent subprocesses.
- Powerful - Multi-target + auto-discovery.
- Traditional - Use the normal
unittest
classes and methods for your unit tests. - Descriptive - Four verbosity levels, from just dots to full docstring output.
- Thorough - Built-in, optional integration with coverage
- Modern - Supports Python 2.7, 3.3, 3.4, and PyPy
- Portable - Completely supports OS X, Linux, and BSDs (and maybe Windows).
- Flexible - Optional HTML output.
- Living - This project grows and changes. See the changelog