diff options
| author | Aymeric Augustin | 2013-11-16 20:32:46 +0100 | 
|---|---|---|
| committer | Aymeric Augustin | 2013-11-16 20:32:46 +0100 | 
| commit | 13266d8c561498879f6519b8f03039d90a0a36cd (patch) | |
| tree | 94241f429faeaddc20a4b3a281ff1be86f9fe1f7 /docs/contributing.rst | |
| parent | ac79628d31040a5500b4d10534ee09174523b763 (diff) | |
| download | django-debug-toolbar-13266d8c561498879f6519b8f03039d90a0a36cd.tar.bz2 | |
Add Selenim test.
Diffstat (limited to 'docs/contributing.rst')
| -rw-r--r-- | docs/contributing.rst | 13 | 
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  ----- | 
