colour-runner is a Python library designed to provide color formatting for standard `unittest` test output. The project's last release was 0.1.1 in October 2018, and it has seen no significant updates since then. It is considered abandoned due to lack of maintenance, making it potentially incompatible with newer Python versions and modern testing practices.
pip install colour-runnerVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to use `ColourTextTestRunner` with a standard `unittest.TestCase` suite to get colored output in the terminal.
Consider using modern, actively maintained test runners like `pytest` (which provides rich, colored output by default) or `green` for `unittest` compatible tests.
Avoid using this library for new projects. If already in use, be aware of potential stability issues and consider migrating to a more stable solution.
Test the output extensively in your target environment. If issues arise, explore alternatives like `colorama` (for cross-platform ANSI support) or a different test runner that handles terminal output more robustly.
Ensure you are importing from the correct submodule: `from colour_runner.runner import ColourTextTestRunner`.
Downgrade to a Python version compatible with the library (e.g., Python 3.5 or earlier, as indicated by PyPI classifiers), or switch to a different test runner. Debugging the `unittest` source for the specific Python version might reveal the exact API change.
No dependency data recorded yet.