Commit d19109fd authored by Ramiro Morales's avatar Ramiro Morales
Browse files

Fixed #19497 -- Refactored testing docs.

Thanks Tim Graham for the review and suggestions.
parent 52a2588d
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -180,7 +180,11 @@ testing of Django applications:
  :doc:`Overview <ref/django-admin>` |
  :doc:`Adding custom commands <howto/custom-management-commands>`

* **Testing:**  :doc:`Overview <topics/testing>`
* **Testing:**
  :doc:`Overview <topics/testing/index>` |
  :doc:`Writing and running tests <topics/testing/overview>` |
  :doc:`Advanced topics <topics/testing/advanced>` |
  :doc:`Doctests <topics/testing/doctests>`

* **Deployment:**
  :doc:`Overview <howto/deployment/index>` |
+2 −2
Original line number Diff line number Diff line
@@ -15,8 +15,8 @@ The tests cover:
We appreciate any and all contributions to the test suite!

The Django tests all use the testing infrastructure that ships with Django for
testing applications. See :doc:`Testing Django applications </topics/testing>`
for an explanation of how to write new tests.
testing applications. See :doc:`Testing Django applications
</topics/testing/overview>` for an explanation of how to write new tests.

.. _running-unit-tests:

+1 −1
Original line number Diff line number Diff line
@@ -281,7 +281,7 @@ correctly in a couple different situations.
    computer programming, so there's lots of information out there:

    * A good first look at writing tests for Django can be found in the
      documentation on :doc:`Testing Django applications</topics/testing/>`.
      documentation on :doc:`Testing Django applications </topics/testing/overview>`.
    * Dive Into Python (a free online book for beginning Python developers)
      includes a great `introduction to Unit Testing`__.
    * After reading those, if you want something a little meatier to sink
+1 −1
Original line number Diff line number Diff line
@@ -632,7 +632,7 @@ a piece of code, it usually means that code should be refactored or removed.
Coverage will help to identify dead code. See
:ref:`topics-testing-code-coverage` for details.

:doc:`Testing Django applications </topics/testing>` has comprehensive
:doc:`Testing Django applications </topics/testing/index>` has comprehensive
information about testing.

.. _Selenium: http://seleniumhq.org/
+1 −1
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ of 1.0. This includes these APIs:
  external template tags. Before adding any such tags, we'll ensure that
  Django raises an error if it tries to load tags with duplicate names.

- :doc:`Testing </topics/testing>`
- :doc:`Testing </topics/testing/index>`

- :doc:`django-admin utility </ref/django-admin>`.

Loading