mirror of
https://github.com/django/django.git
synced 2025-02-28 19:44:35 +00:00
[4.2.x] Refs #34043 -- Clarified how to test UI changes.
Backport of e083f3082c71853a01bf149bda7fdbaf58d25f4d from main
This commit is contained in:
parent
0bd53ab86a
commit
9c7627da30
@ -247,6 +247,8 @@ Note that the ``--reverse`` option doesn't impact on ``--start-at`` or
|
|||||||
``--start-after`` options. Moreover these options cannot be used with test
|
``--start-after`` options. Moreover these options cannot be used with test
|
||||||
labels.
|
labels.
|
||||||
|
|
||||||
|
.. _running-selenium-tests:
|
||||||
|
|
||||||
Running the Selenium tests
|
Running the Selenium tests
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
||||||
|
@ -188,7 +188,11 @@ have to create a new virtual environment, :ref:`install the previously cloned
|
|||||||
local copy of Django in editable mode <intro-contributing-install-local-copy>`,
|
local copy of Django in editable mode <intro-contributing-install-local-copy>`,
|
||||||
and create a new Django project outside of your local copy of Django. You will
|
and create a new Django project outside of your local copy of Django. You will
|
||||||
immediately see any changes you make to Django in your new project, which is
|
immediately see any changes you make to Django in your new project, which is
|
||||||
of great help when writing your first patch.
|
of great help when writing your first patch, especially if testing any changes
|
||||||
|
to the UI.
|
||||||
|
|
||||||
|
You can follow the :doc:`tutorial</intro/tutorial01>` for help in creating a
|
||||||
|
Django project.
|
||||||
|
|
||||||
Running Django's test suite for the first time
|
Running Django's test suite for the first time
|
||||||
==============================================
|
==============================================
|
||||||
@ -259,7 +263,8 @@ __ https://djangoci.com
|
|||||||
For this tutorial and the ticket we're working on, testing against SQLite
|
For this tutorial and the ticket we're working on, testing against SQLite
|
||||||
is sufficient, however, it's possible (and sometimes necessary) to
|
is sufficient, however, it's possible (and sometimes necessary) to
|
||||||
:ref:`run the tests using a different database
|
:ref:`run the tests using a different database
|
||||||
<running-unit-tests-settings>`.
|
<running-unit-tests-settings>`. When making UI changes, you will need to
|
||||||
|
:ref:`run the Selenium tests <running-selenium-tests>`.
|
||||||
|
|
||||||
Working on a feature
|
Working on a feature
|
||||||
====================
|
====================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user