diff options
| author | Carl Meyer <carl@oddbird.net> | 2013-02-25 10:14:42 -0700 |
|---|---|---|
| committer | Carl Meyer <carl@oddbird.net> | 2013-02-25 10:14:42 -0700 |
| commit | 906dc8522a1745e0e12c8061e4170540f7d0f486 (patch) | |
| tree | 5e0c347798ce9ce75e2d4c9b81f4957aaba311b0 /docs/internals/contributing/writing-code | |
| parent | 6d52bcbb7cb962e4874a8e7a3d1d8ee77233cd19 (diff) | |
Fixed #19854 -- Turn Django's own Selenium tests off by default.
Diffstat (limited to 'docs/internals/contributing/writing-code')
| -rw-r--r-- | docs/internals/contributing/writing-code/unit-tests.txt | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt index 59f4c97c92..bd1aa5a96f 100644 --- a/docs/internals/contributing/writing-code/unit-tests.txt +++ b/docs/internals/contributing/writing-code/unit-tests.txt @@ -128,21 +128,12 @@ Running the Selenium tests Some admin tests require Selenium 2, Firefox and Python >= 2.6 to work via a real Web browser. To allow those tests to run and not be skipped, you must -install the selenium_ package (version > 2.13) into your Python path. - -Then, run the tests normally, for example: - -.. code-block:: bash - - ./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. +install the selenium_ package (version > 2.13) into your Python path and run +the tests with the ``--selenium`` option: .. code-block:: bash - ./runtests.py --settings=test_sqlite --skip-selenium admin_inlines + ./runtests.py --settings=test_sqlite --selenium admin_inlines .. _running-unit-tests-dependencies: |
