jazzband / django-debug-toolbar

A configurable set of panels that display various debug information about the current request/response.
https://django-debug-toolbar.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
8.07k stars 1.05k forks source link

Allow more control over tox Selenium tests #1897

Closed living180 closed 6 months ago

living180 commented 6 months ago

Description

This is a follow-up to #1892.

Instead of unconditionally enabling Selenium tests for the py311-dj42-postgresql tox environment, enable them by default for that environment but allow them to be disabled if the user's DJANGO_SELENIUM_TESTS environment variable is empty. This will allow the user to run

DJANGO_SELENIUM_TESTS= tox

to run the full tox test suite with Selenium tests disabled.

Checklist: