From 13266d8c561498879f6519b8f03039d90a0a36cd Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sat, 16 Nov 2013 20:32:46 +0100 Subject: Add Selenim test. --- docs/contributing.rst | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'docs/contributing.rst') 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 ----- -- cgit v1.2.3