Commits

Mikhail Korobov committed 201c074

move testing info to docs

Comments (0)

Files changed (3)

TESTING.rst

-Testing of django-admin-tools
-=============================
-
-Running tests
-~~~~~~~~~~~~~
-Run 'runtests.sh' script.
-
-Run all tests::
-
-    $ ./runtests.sh
-
-Run only unit tests::
-
-    $ ./runtests.sh unit
-
-Run only tests for specified app::
-
-    $ ./runtests.sh dashboard
-
-Run only one test case::
-
-    $ ./runtests.sh dashboard.ManagementCommandTest
-
-Run only one test::
-
-    $ ./runtests.sh dashboard.ManagementCommandTest.test_customdashboard
-
-
-Code coverage report
-~~~~~~~~~~~~~~~~~~~~
-Install django-coverage app::
-
-    $ pip install django-coverage
-
-Then run tests and open test_proj/_coverage/index.html file in browser.
-
-
-Where tests live
-~~~~~~~~~~~~~~~~
-Unit tests should be put into appropriate module's tests.py.
-Functional/integration tests should be put somewhere into test_proj.
 ==============================================
 
 This documentation covers the latest release of django-admin-tools, a
-collection of extensions and tools for the 
-`Django <http://www.djangoproject.com>`_ administration interface, 
+collection of extensions and tools for the
+`Django <http://www.djangoproject.com>`_ administration interface,
 django-admin-tools includes:
 
  * a full featured and customizable dashboard (for the admin index page
  * a customizable menu bar,
  * tools to make admin theming easier.
 
-It was originally developed for django-cms, and then extracted to this 
+It was originally developed for django-cms, and then extracted to this
 pluggable app.
 
 To get up and running quickly, consult the :ref:`quick-start guide
 <quickstart>`, which describes all the necessary steps to install
 django-admin-tools and configure it for the default setup.
-For more detailed information about how to install and how to customize 
+For more detailed information about how to install and how to customize
 django-admin-tools, read through the documentation listed below.
 
 Contents:
    menu
    dashboard
    integration
+   testing
+.. _testing:
+
+Testing of django-admin-tools
+=============================
+
+This is information for developers of django-admin-tools itself.
+
+Running tests
+-------------
+Run the `runtests.sh` script which is situated at the root dir of
+django-admin-tools project.
+
+Run all tests::
+
+    $ ./runtests.sh
+
+Run only unit tests::
+
+    $ ./runtests.sh unit
+
+Run only tests for specified app::
+
+    $ ./runtests.sh dashboard
+
+Run only one test case::
+
+    $ ./runtests.sh dashboard.ManagementCommandTest
+
+Run only one test::
+
+    $ ./runtests.sh dashboard.ManagementCommandTest.test_customdashboard
+
+
+Code coverage report
+--------------------
+Install django-coverage app::
+
+    $ pip install django-coverage
+
+Then run tests and open test_proj/_coverage/index.html file in browser.
+
+
+Where tests live
+----------------
+Unit tests should be put into appropriate module's tests.py.
+Functional/integration tests should be put somewhere into test_proj.