summaryrefslogtreecommitdiff
path: root/docs/internals
diff options
context:
space:
mode:
authorHonza Král <Honza.Kral@gmail.com>2013-02-23 08:55:34 -0800
committerHonza Král <Honza.Kral@gmail.com>2013-02-23 08:55:34 -0800
commita05ab448f7a738d30ee7e8a513a65b6a67e8ea8e (patch)
tree5fe9dd5035a21929b52b67652c12005ef23a1433 /docs/internals
parent335a060fa6a919fc5eb1ff22315f9b3ae44438b7 (diff)
parent1cd2f51eb43f9ed043982770b4efd5f28f53f302 (diff)
Merge pull request #781 from zsiciarz/ticket_19854
Fixed #19854 -- Added test runner option to skip Selenium tests
Diffstat (limited to 'docs/internals')
-rw-r--r--docs/internals/contributing/writing-code/unit-tests.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt
index a03951d141..59f4c97c92 100644
--- a/docs/internals/contributing/writing-code/unit-tests.txt
+++ b/docs/internals/contributing/writing-code/unit-tests.txt
@@ -136,6 +136,15 @@ Then, run the tests normally, for example:
./runtests.py --settings=test_sqlite admin_inlines
+If you have Selenium installed but for some reason don't want to run these tests
+(for example to speed up the test suite), use the ``--skip-selenium`` option
+of the test runner.
+
+.. code-block:: bash
+
+ ./runtests.py --settings=test_sqlite --skip-selenium admin_inlines
+
+
.. _running-unit-tests-dependencies:
Running all the tests