aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAymeric Augustin2013-11-16 20:32:46 +0100
committerAymeric Augustin2013-11-16 20:32:46 +0100
commit13266d8c561498879f6519b8f03039d90a0a36cd (patch)
tree94241f429faeaddc20a4b3a281ff1be86f9fe1f7 /docs
parentac79628d31040a5500b4d10534ee09174523b763 (diff)
downloaddjango-debug-toolbar-13266d8c561498879f6519b8f03039d90a0a36cd.tar.bz2
Add Selenim test.
Diffstat (limited to 'docs')
-rw-r--r--docs/contributing.rst13
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/contributing.rst b/docs/contributing.rst
index 8c8a49b..e489998 100644
--- a/docs/contributing.rst
+++ b/docs/contributing.rst
@@ -46,8 +46,19 @@ Python::
This is strongly recommended before committing changes to Python code.
+The test suite includes frontend tests written with Selenium. Since they're
+annoyingly slow, they're disabled by default. You can run them as follows::
+
+ $ make test_selenium
+
+or by setting the ``DJANGO_SELENIUM_TESTS`` environment variable::
+
+ $ DJANGO_SELENIUM_TESTS=true make test
+ $ DJANGO_SELENIUM_TESTS=true make coverage
+ $ DJANGO_SELENIUM_TESTS=true tox
+
At this time, there isn't an easy way to test against databases other than
-SQLite. The JaveScript code isn't tested either.
+SQLite.
Style
-----