django-embed-video/docs/development/testing.rst
Juda Kaleta 07de8a3af8 Closes #11.
Major changes:

- filter ``embed`` is replaced by tag ``video``.
- removed caching for whole backend, caching properties instead.
- HTTP or HTTPS is set by context.is_secure() (just for ``video`` tag).
- backends can be HTTP only (``allow_https = False``).

Minor changes:

- changed theme of docs to RTD theme.
- help about testing HTTPS on development server.
- added and modified tests
2013-12-21 17:18:47 +01:00

40 lines
613 B
ReStructuredText

Testing
==============================================
Requirements
-------------
You need ``nose``, ``mock`` and ``south`` libraries to run tests.
::
pip install nose
pip install mock
pip install south
Running tests
------------------
Run tests with this command:
::
nosetests
Be sure to run it before each commit and fix broken tests.
Run tests with coverage:
::
nosetests --with-coverage --cover-package=embed_video
Testing HTTPS
-------------
To test HTTPS on development server, `follow this instructions
<http://www.ianlewis.org/en/testing-https-djangos-development-server>`_.