
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
django-rainbowtests
Advanced tools
This is a custom test runner for Django that gives you really colorful test output.
Install the latest release with:
pip install django-rainbowtests
Or with uv:
uv add django-rainbowtests
Set your test runner in Django settings:
TEST_RUNNER = 'rainbowtests.test.runner.RainbowDiscoverRunner'
Then run your tests as usual:
python manage.py test
While running your tests, any lines in your tracebacks that match this path will be highlighted, making them easier to find and read. If you omit this setting, the default is to use the path to your Django installation.
RAINBOWTESTS_HIGHLIGHT_PATH = '/path/to/my/project/'
If the test output is too verbose and you just want a colorful version of the standard Django test output, set RAINBOWTESTS_SHOW_MESSAGES to False:
RAINBOWTESTS_SHOW_MESSAGES = False
There is support for coverage via a custom test runner:
TEST_RUNNER = 'rainbowtests.test.runner.RainbowDiscoverCoverageRunner'
Run your tests as normal (python manage.py test), and if you have coverage installed, you should see a report when your tests complete.
Note: The recommended modern workflow is to use coverage run manage.py test directly, which gives you more control over coverage settings.
This project uses uv for dependency management.
# Clone the repository
git clone https://github.com/bradmontgomery/django-rainbowtests.git
cd django-rainbowtests
# Install dependencies
uv sync --group dev --group test
# Run tests
uv run pytest
# Run linter
uv run ruff check .
MIT. See LICENSE.md.
FAQs
A colorful Django Test Runner.
We found that django-rainbowtests demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.